You are here

function rh_node_features_pipe_node_alter in Rabbit Hole 7.2

Implements hook_features_pipe_COMPONENT_alter().

File

modules/rh_node/rh_node.module, line 153
Main module file for Rabbit Hole nodes module.

Code

function rh_node_features_pipe_node_alter(&$pipe, $data, $export) {
  if (!empty($data)) {
    foreach ($data as $bundle) {
      foreach (rabbit_hole_get_variables('node', $bundle) as $rh_variable) {
        $pipe['variable'][] = $rh_variable;
      }
    }
  }
}