function rules_or

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

Code

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