You are here

function taxonomy_migrate_fields_node in Migrate 6

Implementation of hook_migrate_fields_node().

File

modules/taxonomy.migrate.inc, line 35
Implementation of taxonomy destination handling

Code

function taxonomy_migrate_fields_node($type) {
  $fields = array();
  foreach ((array) taxonomy_get_vocabularies($type) as $vocab) {
    $fields['migrate_taxonomy_' . $vocab->vid] = t('Taxonomy: %name', array(
      '%name' => check_plain($vocab->name),
    ));
  }
  return $fields;
}