You are here

function namefield_features_export in Name Field 7

Implements hook_features_export().

File

includes/name.features.inc, line 18

Code

function namefield_features_export($data, &$export, $module_name) {

  // Needed?
  $export['dependencies']['namefield'] = 'name';
  foreach ($data as $name) {
    $export['features']['namefield'][$name] = $name;
  }
  $pipe = array();
  return $pipe;
}