public function RulesConditionalElement::canEvaluate in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.core.inc \RulesConditionalElement::canEvaluate()
Determines whether this branch can be evaluated.
Non-default plugins should override this method.
4 methods override RulesConditionalElement::canEvaluate()
- RulesConditionalCase::canEvaluate in includes/
rules_conditional.plugin.inc - Determines whether this branch can be evaluated.
- RulesConditionalDefaultCase::canEvaluate in includes/
rules_conditional.plugin.inc - Determines whether this branch can be evaluated.
- RulesConditionalPredicateElement::canEvaluate in includes/
rules_conditional.core.inc - Evaluates the predicate.
- RulesConditionalTestStubElement::canEvaluate in tests/
rules_conditional_test.inc - Determines whether this branch can be evaluated.
File
- includes/
rules_conditional.core.inc, line 257 - Conditional Rules framework implementation.
Class
- RulesConditionalElement
- Base conditional element plugin implementation.
Code
public function canEvaluate(RulesState $state) {
return $this
->isDefault();
}