You are here

function rules_action_invoke_set_features_export in Rules 6

Also add in the invoked rule set when exporting for features.

Related topics

File

rules/modules/rules.rules_forms.inc, line 47
Forms for the integration provided by rules

Code

function rules_action_invoke_set_features_export(&$export, &$pipe, $settings, $element) {
  $set_name = $element['#info']['set'];
  if (!isset($export['features']['rules_sets'][$set_name])) {
    $export['features']['rules_sets'][$set_name] = $set_name;
    rules_features_process_set($set_name, $export, $pipe);
  }
}