function rules_rule_set
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
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
Code
function rules_rule_set($variables = array(), $provides = array()) {
return rules_plugin_factory('rule set', $variables, $provides);
}