You are here

function taxonomy_node_import_fields in Node import 5

Same name and namespace in other branches
  1. 6 supported/taxonomy.inc \taxonomy_node_import_fields()

Implementation of hook_node_import_fields().

File

supported/taxonomy.inc, line 10

Code

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