taxonomy_admin_vocabulary_edit

Versions
4.7 – 5
taxonomy_admin_vocabulary_edit($vid = NULL)
6
taxonomy_admin_vocabulary_edit($vocabulary)

Page to add or edit a vocabulary

Code

modules/taxonomy.module, line 1267

<?php
function taxonomy_admin_vocabulary_edit($vid = NULL) {
  if ($_POST['op'] == t('Delete') || $_POST['edit']['confirm']) {
    return _taxonomy_confirm_del_vocabulary($vid);
  }
  elseif ($vid) {
    $vocabulary = (array)taxonomy_get_vocabulary($vid);
  }
  return taxonomy_form_vocabulary($vocabulary);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.