public function PluginSelectorBase::setCollectPluginConfiguration in Plugin 8.2
Sets whether a plugin's configuration must be collected.
Parameters
bool $collect:
Return value
$this
Overrides PluginSelectorInterface::setCollectPluginConfiguration
File
- src/
Plugin/ Plugin/ PluginSelector/ PluginSelectorBase.php, line 179
Class
- PluginSelectorBase
- Provides a base plugin selector.
Namespace
Drupal\plugin\Plugin\Plugin\PluginSelectorCode
public function setCollectPluginConfiguration($collect = TRUE) {
$this->configuration['collect_plugin_configuration'] = $collect;
return $this;
}