You are here

function uuid_vocabulary_features_export in UUID Features Integration 6

Implementation of hook_features_export().

File

includes/uuid_vocabulary.features.inc, line 27
Features hooks for the uuid_vocabulary features component.

Code

function uuid_vocabulary_features_export($data, &$export, $module_name = '') {
  $pipe = array();
  $export['dependencies']['taxonomy'] = 'taxonomy';
  $export['dependencies']['uuid'] = 'uuid';
  $export['dependencies']['uuid_features'] = 'uuid_features';
  foreach ($data as $uuid) {
    $export['features']['uuid_vocabulary'][$uuid] = $uuid;
  }
  return $pipe;
}