function ReactionRuleConfig::getEventNames
Overrides RulesTriggerableInterface::getEventNames
2 calls to ReactionRuleConfig::getEventNames()
- ReactionRuleConfig::getComponent in src/
Entity/ ReactionRuleConfig.php - Gets the Rules component that is invoked when the events are dispatched. The returned component has the definitions of the available event context set.
- ReactionRuleConfig::hasEvent in src/
Entity/ ReactionRuleConfig.php - Returns if the rule is reacting on the given event.
File
-
src/
Entity/ ReactionRuleConfig.php, line 249
Class
- ReactionRuleConfig
- Reaction rule configuration entity to persistently store configuration.
Namespace
Drupal\rules\EntityCode
public function getEventNames() {
return array_column($this->events, 'event_name');
}