You are here

public function ActionInterface::execute in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/ActionInterface.php \Drupal\business_rules\ActionInterface::execute()

Execute the action.

Parameters

\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.

Throws

\ReflectionException

1 method overrides ActionInterface::execute()
Action::execute in src/Entity/Action.php
Execute the action.

File

src/ActionInterface.php, line 23

Class

ActionInterface
Provides an interface for defining Action entities.

Namespace

Drupal\business_rules

Code

public function execute(BusinessRulesEvent $event);