public function RuleConditionSet::evaluate in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.plugin.inc \RuleConditionSet::evaluate()
Evaluate the element on a given rules evaluation state.
Overrides RulesAnd::evaluate
File
- includes/
rules_conditional.plugin.inc, line 516 - Rules plugin implementation.
Class
- RuleConditionSet
- Rule as condition set.
Code
public function evaluate(RulesState $state) {
rules_log('Evaluating actions of rule condition set %label.', array(
'%label' => $this
->label(),
), RulesLog::INFO, $this);
$this->actions
->evaluate($state);
rules_log('Evaluating result conditions of rule condition set %label.', array(
'%label' => $this
->label(),
), RulesLog::INFO, $this);
return parent::evaluate($state);
}