You are here

function ConfigActionsServiceInterface::processAction in Config Actions 8

Process a single config_actions action

Parameters

array $action: array of action data

array $options: optional array of action options If $options is empty, values are taken from $action data

string $action_id: The id string of the action to be executed. If omitted, execute all actions in the $action array. Nested actions can be separated with a colon, such as "action:subaction"

Return value

mixed Returns the data processed, or NULL if no action was processed.

1 method overrides ConfigActionsServiceInterface::processAction()
ConfigActionsService::processAction in src/ConfigActionsService.php
Process a single config_actions action

File

src/ConfigActionsServiceInterface.php, line 30

Class

ConfigActionsServiceInterface
Defines an interface for config actions service

Namespace

Drupal\config_actions

Code

function processAction(array $action, array $options = [], $action_id = '');