You are here

function taxonomy_uuid_node_features_export_render_alter in UUID Features Integration 6

Implementation of hook_uuid_node_features_export_render_alter().

File

includes/modules/taxonomy.inc, line 31
uuid_node hooks on behalf of the taxonomy module.

Code

function taxonomy_uuid_node_features_export_render_alter(&$export, $node, $module) {
  if (!empty($node->taxonomy)) {
    $export->uuid_term = array();
    foreach ($node->taxonomy as $term) {
      $export->uuid_term[] = uuid_get_uuid('term_data', 'tid', $term->tid);
    }
  }
}