You are here

function profile_field_features_export in Features 6

Implementation of hook_features_export().

File

includes/features.profile.inc, line 20

Code

function profile_field_features_export($data, &$export, $module_name = '') {
  $export['dependencies']['features'] = 'features';
  $export['dependencies']['profile'] = 'profile';
  foreach ($data as $field) {
    $export['features']['profile_field'][$field] = $field;
  }
  return array();
}