protected function ConfigActionsInclude::cleanAction in Config Actions 8
Remove plugin-specific options to just leave those to override import.
Parameters
$action:
1 call to ConfigActionsInclude::cleanAction()
- ConfigActionsInclude::execute in src/
Plugin/ ConfigActions/ ConfigActionsInclude.php - Main execute to perform the include
File
- src/
Plugin/ ConfigActions/ ConfigActionsInclude.php, line 52
Class
- ConfigActionsInclude
- Plugin for including an action from another module.
Namespace
Drupal\config_actions\Plugin\ConfigActionsCode
protected function cleanAction($action) {
unset($action['plugin']);
unset($action['module']);
unset($action['file']);
unset($action['action']);
// Ensure included actions get executed.
$action['auto'] = TRUE;
return $action;
}