You are here

public function RulesConditionalPredicateElement::canEvaluate in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.core.inc \RulesConditionalPredicateElement::canEvaluate()

Evaluates the predicate.

Overrides RulesConditionalElement::canEvaluate

1 call to RulesConditionalPredicateElement::canEvaluate()
RulesConditionalWhile::evaluate in includes/rules_conditional.plugin.inc

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);
}