You are here

public function Rule::fire in Rules 7.2

Fires the rule, i.e. evaluates the rule without checking its conditions.

See also

RulesPlugin::evaluate()

File

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

Class

Rule
An actual rule.

Code

public function fire(RulesState $state) {
  rules_log('Firing rule %label.', array(
    '%label' => $this->label,
  ), RulesLog::INFO, $this);
  parent::evaluate($state);
}