interface ConfigActionsPluginInterface in Config Actions 8
Defines an interface for config actions plugins
Hierarchy
- interface \Drupal\config_actions\ConfigActionsPluginInterface
Expanded class hierarchy of ConfigActionsPluginInterface
All classes that implement ConfigActionsPluginInterface
File
- src/
ConfigActionsPluginInterface.php, line 8
Namespace
Drupal\config_actionsView source
interface ConfigActionsPluginInterface {
/**
* Return a transformed version of the source config tree.
*
* @param array $source
* @return array
*/
public function transform(array $source);
/**
* Execute the action for this plugin.
*
* @param array $action: a config_actions action
* @return mixed
* FALSE if there was a problem executing the plugin action
*/
public function execute(array $action);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigActionsPluginInterface:: |
public | function | Execute the action for this plugin. | 1 |
ConfigActionsPluginInterface:: |
public | function | Return a transformed version of the source config tree. | 1 |