You are here

function rules_conditional_switch in Conditional Rules 7

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

Creates a "switch".

1 call to rules_conditional_switch()
RulesConditionalUITestCase::testCaseUI in tests/rules_conditional.test
Tests RulesConditionalCaseUI.

File

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

Code

function rules_conditional_switch($data_selector) {
  return new RulesConditionalSwitch($data_selector);
}