You are here

public function RulesConditionalDefaultCase::isDefault in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.plugin.inc \RulesConditionalDefaultCase::isDefault()

Determines whether this branch is default, i.e. covers the remainder of conditions outside of all non-default branches inside the conditional.

Overrides RulesConditionalElement::isDefault

1 call to RulesConditionalDefaultCase::isDefault()
RulesConditionalDefaultCase::canEvaluate in includes/rules_conditional.plugin.inc
Determines whether this branch can be evaluated.

File

includes/rules_conditional.plugin.inc, line 404
Rules plugin implementation.

Class

RulesConditionalDefaultCase
Switch default case.

Code

public function isDefault() {
  return TRUE;
}