taxonomy_admin_term_edit
- Versions
- 4.7
taxonomy_admin_term_edit($tid = NULL)- 5 – 6
taxonomy_admin_term_edit($tid)
Page to edit a vocabulary term.
Code
modules/taxonomy/taxonomy.module, line 1466
<?php
function taxonomy_admin_term_edit($tid) {
if ($_POST['op'] == t('Delete') || $_POST['confirm']) {
return drupal_get_form('taxonomy_term_confirm_delete', $tid);
}
if ($term = (array)taxonomy_get_term($tid)) {
return drupal_get_form('taxonomy_form_term', $term['vid'], $term);
}
return drupal_not_found();
}
?>Login or register to post comments 