You are here

function rules_or in Rules 7.2

Creates a logical OR condition container.

Parameters

array $variables: An optional array as for rule().

Return value

RulesOr

1 call to rules_or()
RulesTestCase::testRuleSets in tests/rules.test
Tests making use of rule sets.

File

./rules.module, line 149
Rules engine module.

Code

function rules_or($variables = NULL) {
  return rules_plugin_factory('or', $variables);
}