function RulesTriggerableInterface::getEvents

Gets configuration of all events the rule is reacting on.

Return value

array The events array. The array is numerically indexed and contains arrays with the following structure:

  • event_name: String with the event machine name.
  • configuration: An array containing the event configuration.
1 method overrides RulesTriggerableInterface::getEvents()
ReactionRuleConfig::getEvents in src/Entity/ReactionRuleConfig.php
Gets configuration of all events the rule is reacting on.

File

src/Core/RulesTriggerableInterface.php, line 21

Class

RulesTriggerableInterface
Interface for objects that are triggerable.

Namespace

Drupal\rules\Core

Code

public function getEvents();