You are here

public function RulesReactionRule::integrityCheck in Rules 7.2

File

includes/rules.plugins.inc, line 445
Contains plugin info and implementations not needed for rule evaluation.

Class

RulesReactionRule
Represents rules getting triggered by events.

Code

public function integrityCheck() {
  parent::integrityCheck();

  // Check integrity of the configured events.
  foreach ($this->events as $event_name) {
    $handler = rules_get_event_handler($event_name, $this
      ->getEventSettings($event_name));
    $handler
      ->validate();
  }
  return $this;
}