Constructs a ExifWidgetBase object.
Paramètres
string $plugin_id: The plugin_id for the widget.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The definition of the field to which the widget is associated.
array $settings: The widget settings.
array $third_party_settings: Any third party settings.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
1 method overrides ExifWidgetBase::__construct()
- ExifReadonlyWidget::__construct dans src/
Plugin/ Field/ FieldWidget/ ExifReadonlyWidget.php - Constructs a ExifReadonlyWidget object.
Fichier
-
src/
Plugin/ Field/ FieldWidget/ ExifWidgetBase.php, line 47
Classe
- ExifWidgetBase
- Base class for 'Exif Field widget' plugin implementations.
Namespace
Drupal\exif\Plugin\Field\FieldWidgetCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings, EntityFieldManagerInterface $entity_field_manager) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings);
$this->entityFieldManager = $entity_field_manager;
}