You are here

abstract public function BusinessRulesActionPlugin::execute in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/BusinessRulesActionPlugin.php \Drupal\business_rules\Plugin\BusinessRulesActionPlugin::execute()

Execute the action.

Parameters

\Drupal\business_rules\ActionInterface $action: The configured action.

\Drupal\business_rules\Events\BusinessRulesEvent $event: The event that has triggered the action.

Return value

array The render array to be showed on debug block.

Overrides BusinessRulesActionPluginInterface::execute

27 methods override BusinessRulesActionPlugin::execute()
ActionSet::execute in src/Plugin/BusinessRulesAction/ActionSet.php
Execute the action.
AddNodeToGroupAction::execute in modules/br_group/src/Plugin/BusinessRulesAction/AddNodeToGroupAction.php
Execute the action.
AddRoleToUser::execute in src/Plugin/BusinessRulesAction/AddRoleToUser.php
Execute the action.
AddUserToGroupAction::execute in modules/br_group/src/Plugin/BusinessRulesAction/AddUserToGroupAction.php
Execute the action.
AssignRoleToUserAction::execute in modules/br_group/src/Plugin/BusinessRulesAction/AssignRoleToUserAction.php
Execute the action.

... See full list

File

src/Plugin/BusinessRulesActionPlugin.php, line 16

Class

BusinessRulesActionPlugin
Base class for Business rules Action plugins.

Namespace

Drupal\business_rules\Plugin

Code

public abstract function execute(ActionInterface $action, BusinessRulesEvent $event);