/[drupal]/contributions/modules/importexportapi/definitions/importexportapi_taxonomy.inc
ViewVC logotype

Diff of /contributions/modules/importexportapi/definitions/importexportapi_taxonomy.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.12, Sun Mar 25 21:21:47 2007 UTC revision 1.12.2.1, Mon Oct 12 13:44:13 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: importexportapi_taxonomy.inc,v 1.11 2006/12/17 00:27:05 jaza Exp $  // $Id: importexportapi_taxonomy.inc,v 1.12 2007/03/25 21:21:47 jaza Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 208  function taxonomy_node_def_alter(&$def, Line 208  function taxonomy_node_def_alter(&$def,
208      '#db_default_table' => 'term_node',      '#db_default_table' => 'term_node',
209      '#xml_plural' => 'taxonomy-terms',      '#xml_plural' => 'taxonomy-terms',
210      '#csv_plural' => 'taxonomy-terms',      '#csv_plural' => 'taxonomy-terms',
211      '#xml_mapping' => 'term'      '#xml_mapping' => 'term',
212    );    );
213    $def['taxonomy']['nid'] = array(    $def['taxonomy']['nid'] = array(
214      '#type' => 'int',      '#type' => 'int',
215      '#title' => t('Node ID'),      '#title' => t('Node ID'),
216      '#reference_entity' => $type,      '#reference_entity' => $type,
217      '#key_component' => TRUE      '#key_component' => TRUE,
218      );
219      $def['taxonomy']['vid'] = array(
220        '#type' => 'int',
221        '#title' => t('Node Revision'),
222        '#reference_entity' => 'vid',
223        '#key_component' => TRUE,
224    );    );
225    $def['taxonomy']['tid'] = array(    $def['taxonomy']['tid'] = array(
226      '#type' => 'int',      '#type' => 'int',
227      '#title' => t('Term ID'),      '#title' => t('Term ID'),
228      '#reference_entity' => 'term',      '#reference_entity' => 'term',
229      '#key_component' => TRUE      '#key_component' => TRUE,
230    );    );
231  }  }
232    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.12.2.1

  ViewVC Help
Powered by ViewVC 1.1.2