function RulesReactionRule::getEventSettings

Implements RulesTriggerableInterface::getEventSettings().

Parameters

string $event_name: The (configured) event's name.

Return value

array|null The array of event settings, or NULL if there are no settings.

Overrides RulesTriggerableInterface::getEventSettings

3 calls to RulesReactionRule::getEventSettings()
RulesReactionRule::availableVariables in includes/rules.plugins.inc
RulesReactionRule::exportChildren in includes/rules.plugins.inc
RulesReactionRule::integrityCheck in includes/rules.plugins.inc

File

includes/rules.plugins.inc, line 439

Class

RulesReactionRule
Represents rules getting triggered by events.

Code

public function getEventSettings($event_name) {
  if (isset($this->eventSettings[$event_name])) {
    return $this->eventSettings[$event_name];
  }
}