public function RulesConditionalTestStubElement::canEvaluate in Conditional Rules 8
Same name and namespace in other branches
- 7 tests/rules_conditional_test.inc \RulesConditionalTestStubElement::canEvaluate()
Determines whether this branch can be evaluated.
Overrides RulesConditionalElement::canEvaluate
File
- tests/
rules_conditional_test.inc, line 74 - Testing implementations.
Class
- RulesConditionalTestStubElement
- Test element.
Code
public function canEvaluate(RulesState $state) {
return $this->pass;
}