You are here

public function PluginSelectorInterface::setSelectablePluginType in Plugin 8.2

Sets the selectable plugin type.

Parameters

\Drupal\plugin\PluginType\PluginTypeInterface $plugin_type: The type of which to select plugins.

Return value

$this

1 method overrides PluginSelectorInterface::setSelectablePluginType()
PluginSelectorBase::setSelectablePluginType in src/Plugin/Plugin/PluginSelector/PluginSelectorBase.php
Sets the selectable plugin type.

File

src/Plugin/Plugin/PluginSelector/PluginSelectorInterface.php, line 153

Class

PluginSelectorInterface
Defines a plugin to select and configure another plugin.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

public function setSelectablePluginType(PluginTypeInterface $plugin_type);