public function RulesConditionalPredicateElement::canEvaluate in Conditional Rules 8
Same name and namespace in other branches
- 7 includes/rules_conditional.core.inc \RulesConditionalPredicateElement::canEvaluate()
Evaluates the predicate.
Overrides RulesConditionalElement::canEvaluate
1 call to RulesConditionalPredicateElement::canEvaluate()
File
- includes/
rules_conditional.core.inc, line 504 - Conditional Rules framework implementation.
Class
- RulesConditionalPredicateElement
- Base conditional element that uses a predicate.
Code
public function canEvaluate(RulesState $state) {
return $this->predicate
->evaluate($state);
}