You are here

public function PluginSelectorInterface::setKeepPreviouslySelectedPlugins in Plugin 8.2

Sets whether previously selected plugins must be kept.

Parameters

bool $keep:

Return value

$this

See also

self::getPreviouslySelectedPlugins()

1 method overrides PluginSelectorInterface::setKeepPreviouslySelectedPlugins()
PluginSelectorBase::setKeepPreviouslySelectedPlugins in src/Plugin/Plugin/PluginSelector/PluginSelectorBase.php
Sets whether previously selected plugins must be kept.

File

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

Class

PluginSelectorInterface
Defines a plugin to select and configure another plugin.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

public function setKeepPreviouslySelectedPlugins($keep = TRUE);