You are here

function rules_rule_set in Rules 7.2

Creates a rule set.

Parameters

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

array $provides: The names of variables which should be provided to the caller. See rule().

Return value

RulesRuleSet

5 calls to rules_rule_set()
RulesSchedulerTestCase::testComponentSchedule in rules_scheduler/tests/rules_scheduler.test
Tests scheduling components from the action.
RulesSchedulerTestCase::testRecursionPrevention in rules_scheduler/tests/rules_scheduler.test
Makes sure recursion prevention is working fine for scheduled rule sets.
RulesTestCase::testComponentInvocations in tests/rules.test
Tests invoking components from the action.
RulesTestCase::testReturningVariables in tests/rules.test
Tests returning provided variables.
RulesTestCase::testRuleSets in tests/rules.test
Tests making use of rule sets.

File

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

Code

function rules_rule_set($variables = array(), $provides = array()) {
  return rules_plugin_factory('rule set', $variables, $provides);
}