You are here

function _rules_get_rule_set_initialize in Rules 6

Initializes inactive sets

1 call to _rules_get_rule_set_initialize()
rules_get_rule_set in rules/rules.module
Returns the rule set $set_name, which includes the set info and the rules. To improve performance rule sets are cached.

File

rules/rules.module, line 187
Rules engine module

Code

function _rules_get_rule_set_initialize(&$sets) {
  foreach (variable_get('rules_inactive_sets', array()) as $name) {
    $sets[$name] = array();
  }
}