| 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 |
| 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 |
|
|