You are here

public function DsFieldSource::__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/DsFieldSource.php, line 34

Class

DsFieldSource
Defines Display Suite fields source plugin.

Namespace

Drupal\ui_patterns_ds\Plugin\UiPatterns\Source

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, DsPluginManager $ds_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->dsManager = $ds_manager;
}