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