You are here

function _rules_rule_is_active in Rules 6

Helper for array_filter()

1 string reference to '_rules_rule_is_active'
_rules_get_rule_sets in rules/rules.module
Actually retrieves all active rules bypassing the cache

File

rules/rules.module, line 212
Rules engine module

Code

function _rules_rule_is_active($rule) {
  _rules_element_defaults($rule);
  return $rule['#active'];
}