You are here

function rules_conditional_switch in Conditional Rules 8

Same name and namespace in other branches
  1. 7 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);
}