You are here

function rules_link_features_pipe_rules_link_alter in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_features_pipe_rules_link_alter()

Implements hook_features_pipe_component_alter() for fields.

File

./rules_link.module, line 509
Rules Link - module file.

Code

function rules_link_features_pipe_rules_link_alter(&$pipe, $data, $export) {
  foreach ($data as $id) {
    $rules_link = entity_load_single('rules_link', $id);
    $pipe['rules_config'][] = rules_link_get_condition_set_name($rules_link);
    $pipe['rules_config'][] = rules_link_get_rules_set_name($rules_link);
  }
}