You are here

public function PluginSelectorDeriver::__construct in Plugin 8.2

Constructs a new class instance.

File

src/Plugin/Field/FieldWidget/PluginSelectorDeriver.php, line 25

Class

PluginSelectorDeriver
Derives plugin selector field widgets.

Namespace

Drupal\plugin\Plugin\Field\FieldWidget

Code

public function __construct(PluginSelectorManagerInterface $plugin_selector_manager) {
  $this->pluginSelectorManager = $plugin_selector_manager;
}