protected function RulesConditional::call_else in Conditional Rules 8
Same name and namespace in other branches
- 7 includes/rules_conditional.plugin.inc \RulesConditional::call_else()
Adds an "else" statement, for use with magic call.
File
- includes/
rules_conditional.plugin.inc, line 53 - Rules plugin implementation.
Class
- RulesConditional
- Default if-else conditional statement.
Code
protected function call_else() {
$this->fluentElement = $element = rules_conditional_else();
$element
->setParent($this);
return $this;
}