public function PluginSelectorInterface::setPreviouslySelectedPlugins in Plugin 8.2
Sets previously selected plugins.
Parameters
\Drupal\Component\Plugin\PluginInspectionInterface[] $plugins:
Return value
$this
See also
self::setKeepPreviouslySelectedPlugins()
self::setCollectPluginConfiguration()
1 method overrides PluginSelectorInterface::setPreviouslySelectedPlugins()
- PluginSelectorBase::setPreviouslySelectedPlugins in src/
Plugin/ Plugin/ PluginSelector/ PluginSelectorBase.php - Sets previously selected plugins.
File
- src/
Plugin/ Plugin/ PluginSelector/ PluginSelectorInterface.php, line 109
Class
- PluginSelectorInterface
- Defines a plugin to select and configure another plugin.
Namespace
Drupal\plugin\Plugin\Plugin\PluginSelectorCode
public function setPreviouslySelectedPlugins(array $plugins);