You are here

function auto_nodetitle_features_pipe_node_alter in Automatic Nodetitles 7

Implements hook_features_pipe_COMPONENT_alter().

File

./auto_nodetitle.module, line 322
Allows hiding of the node title field and automatic title creation.

Code

function auto_nodetitle_features_pipe_node_alter(&$pipe, $data, $export) {
  foreach ($data as $type) {
    $pipe['variable'][] = 'ant_' . $type;
    $pipe['variable'][] = 'ant_pattern_' . $type;
    $pipe['variable'][] = 'ant_php_' . $type;
  }
}