protected function ConfigActionsPluginBase::initPlugin in Config Actions 8
Initialize a plugin.
This is the place a plugin can add options to allowedOptions or perform any other needed initialization, such as traits.
Parameters
array $configuration: Contains the data for the plugin action.
1 call to ConfigActionsPluginBase::initPlugin()
- ConfigActionsPluginBase::__construct in src/
ConfigActionsPluginBase.php - Constructs a new ConfigActionsPlugin object.
File
- src/
ConfigActionsPluginBase.php, line 190
Class
- ConfigActionsPluginBase
- Base class for config_actions plugins.
Namespace
Drupal\config_actionsCode
protected function initPlugin(array $configuration) {
$this
->setOptions($configuration);
}