You are here

protected function RulesConditionalSwitch::call_defaultCase in Conditional Rules 7

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

Adds a "defaultCase" statement, for use with magic call.

File

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

Class

RulesConditionalSwitch
Switch conditional container.

Code

protected function call_defaultCase() {
  $this->fluentElement = $element = rules_conditional_default_case();
  $element
    ->setParent($this);
  return $this;
}