function RulesReactionRule::integrityCheck

File

includes/rules.plugins.inc, line 445

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;
}