You are here

public function DateRecurModularWidgetBase::__construct in Recurring Date Field Modular Widgets 8

Same name and namespace in other branches
  1. 3.x src/Plugin/Field/FieldWidget/DateRecurModularWidgetBase.php \Drupal\date_recur_modular\Plugin\Field\FieldWidget\DateRecurModularWidgetBase::__construct()
  2. 2.x src/Plugin/Field/FieldWidget/DateRecurModularWidgetBase.php \Drupal\date_recur_modular\Plugin\Field\FieldWidget\DateRecurModularWidgetBase::__construct()

Constructs a new DateRecurModularWidgetBase.

Parameters

string $plugin_id: The plugin_id for the formatter.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The definition of the field to which the formatter is associated.

array $settings: The formatter settings.

array $third_party_settings: Third party settings.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: A config factory for retrieving required config objects.

Overrides WidgetBase::__construct

1 call to DateRecurModularWidgetBase::__construct()
DateRecurModularSierraWidget::__construct in src/Plugin/Field/FieldWidget/DateRecurModularSierraWidget.php
Constructs a new DateRecurModularSierraWidget.
1 method overrides DateRecurModularWidgetBase::__construct()
DateRecurModularSierraWidget::__construct in src/Plugin/Field/FieldWidget/DateRecurModularSierraWidget.php
Constructs a new DateRecurModularSierraWidget.

File

src/Plugin/Field/FieldWidget/DateRecurModularWidgetBase.php, line 47

Class

DateRecurModularWidgetBase
Date recur modular widget base.

Namespace

Drupal\date_recur_modular\Plugin\Field\FieldWidget

Code

public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings, ConfigFactoryInterface $configFactory) {
  parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings);
  $this->configFactory = $configFactory;
}