public function DateConfigurableListWidget::__construct in Datetime Extras 8
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
- src/
Plugin/ Field/ FieldWidget/ DateConfigurableListWidget.php, line 29
Class
- DateConfigurableListWidget
- Plugin implementation of the 'datatime_extras_configurable_list' widget.
Namespace
Drupal\datetime_extras\Plugin\Field\FieldWidgetCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings);
@trigger_error('The ' . __NAMESPACE__ . '\\DateConfigurableListWidget is deprecated in datetime_extras:8.x-1.0 and is removed from datetime_extras:8.x-2.0. Use ' . __NAMESPACE__ . '\\DateTimeDatelistNoTimeWidget instead. See https://www.drupal.org/node/2973035', E_USER_DEPRECATED);
}