taxonomy_admin_vocabulary_edit

Definition

taxonomy_admin_vocabulary_edit($vid = NULL)
modules/taxonomy.module, line 1267

Description

Page to add or edit a vocabulary

Code

<?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);
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.