You are here

abstract protected function RulesConditionalContainer::selectBranches in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.core.inc \RulesConditionalContainer::selectBranches()

Selects the branches to evaluate for this conditional.

Parameters

RulesState $state: Rules state to use.

Return value

RulesConditionalElement[] An array of branches to evaluate.

1 call to RulesConditionalContainer::selectBranches()
RulesConditionalContainer::evaluate in includes/rules_conditional.core.inc
Evaluates the conditional statement.
3 methods override RulesConditionalContainer::selectBranches()
RulesConditional::selectBranches in includes/rules_conditional.plugin.inc
Selects the branches to evaluate for this conditional.
RulesConditionalSwitch::selectBranches in includes/rules_conditional.plugin.inc
Selects the branches to evaluate for this conditional.
RulesConditionalTestStubContainer::selectBranches in tests/rules_conditional_test.inc
Selects the branches to evaluate for this conditional.

File

includes/rules_conditional.core.inc, line 160
Conditional Rules framework implementation.

Class

RulesConditionalContainer
Base conditional statement plugin implementation.

Code

protected abstract function selectBranches(RulesState $state);