You are here

public function BusinessRulesActionPluginInterface::execute in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/BusinessRulesActionPluginInterface.php \Drupal\business_rules\Plugin\BusinessRulesActionPluginInterface::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.

1 method overrides BusinessRulesActionPluginInterface::execute()
BusinessRulesActionPlugin::execute in src/Plugin/BusinessRulesActionPlugin.php
Execute the action.

File

src/Plugin/BusinessRulesActionPluginInterface.php, line 24

Class

BusinessRulesActionPluginInterface
Defines an interface for Business rules Action plugins.

Namespace

Drupal\business_rules\Plugin

Code

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