You are here

public function RulesReactionRule::removeEvent in Rules 7.2

Implements RulesTriggerableInterface::removeEvent().

Overrides RulesTriggerableInterface::removeEvent

File

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

Class

RulesReactionRule
Represents rules getting triggered by events.

Code

public function removeEvent($event) {
  if (($id = array_search($event, $this->events)) !== FALSE) {
    unset($this->events[$id]);
  }
  return $this;
}