public function ContributorWidget::__construct in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Plugin/Field/FieldWidget/ContributorWidget.php \Drupal\bibcite_entity\Plugin\Field\FieldWidget\ContributorWidget::__construct()
Constructs a WidgetBase object.
Parameters
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.
Overrides WidgetBase::__construct
File
- modules/
bibcite_entity/ src/ Plugin/ Field/ FieldWidget/ ContributorWidget.php, line 38
Class
- ContributorWidget
- Plugin implementation of the 'bibcite_contributor_widget' widget.
Namespace
Drupal\bibcite_entity\Plugin\Field\FieldWidgetCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings, ContributorPropertiesServiceInterface $contributorPropertiesService) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings);
$this->contributorPropertiesService = $contributorPropertiesService;
}