You are here

function rules_features_process_set in Rules 6

Retrieves all necessary module dependencies for a list of rule sets.

3 calls to rules_features_process_set()
rules_action_invoke_set_features_export in rules/modules/rules.rules_forms.inc
Also add in the invoked rule set when exporting for features.
rules_categories_features_export in rules/rules.export.inc
Implementation of hook_features_export() for categories.
rules_scheduler_action_features_export in rules_scheduler/rules_scheduler.rules_forms.inc
Also add in the invoked rule set when exporting for features.

File

rules/rules.export.inc, line 144
Provides export functionality and integrates with the features module.

Code

function rules_features_process_set($set_name, &$export, &$pipe) {
  $rules = rules_get_configured_items('rules');
  foreach ($rules as $key => $rule) {
    if ($rule['#set'] == $set_name) {
      rules_features_process_rule($rule, $export, $pipe);
    }
  }
}