You are here

function rules_conditional_case in Conditional Rules 7

Same name and namespace in other branches
  1. 8 rules_conditional.module \rules_conditional_case()

Creates a "case".

1 call to rules_conditional_case()
RulesConditionalSwitch::call_case in includes/rules_conditional.plugin.inc
Adds a "case" statement, for use with magic call.

File

./rules_conditional.module, line 51
Main module file.

Code

function rules_conditional_case(array $settings = array(), $fall_through = FALSE) {
  return new RulesConditionalCase($settings, $fall_through);
}