You are here

public function DsFieldTemplateSource::__construct in UI Patterns 8

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

modules/ui_patterns_ds/src/Plugin/UiPatterns/Source/DsFieldTemplateSource.php, line 34

Class

DsFieldTemplateSource
Defines Display Suite field template source plugin.

Namespace

Drupal\ui_patterns_ds\Plugin\UiPatterns\Source

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityFieldManager $field_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->fieldManager = $field_manager;
}