public function RulesConditionalContainer::evaluate in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.core.inc \RulesConditionalContainer::evaluate()
Evaluates the conditional statement.
Overrides RulesPlugin::evaluate
File
- includes/
rules_conditional.core.inc, line 68 - Conditional Rules framework implementation.
Class
- RulesConditionalContainer
- Base conditional statement plugin implementation.
Code
public function evaluate(RulesState $state) {
// Evaluate selected branches.
$branches = $this
->selectBranches($state);
foreach ($branches as $branch) {
$branch
->evaluate($state);
}
}