You are here

public function RulesConditionalTestStubElement::canEvaluate in Conditional Rules 8

Same name and namespace in other branches
  1. 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;
}