You are here

public function PluginCollectionItemDeriver::__construct in Plugin 8.2

Constructs a new class instance.

Parameters

\Drupal\plugin\PluginTypeManagerInterface: The plugin type manager.

File

src/Plugin/Field/FieldType/PluginCollectionItemDeriver.php, line 28

Class

PluginCollectionItemDeriver
Derives plugin collection field items.

Namespace

Drupal\plugin\Plugin\Field\FieldType

Code

public function __construct(PluginTypeManagerInterface $plugin_type_manager) {
  $this->pluginTypeManager = $plugin_type_manager;
}