function taxonomy_admin_vocabulary_edit

6.x taxonomy.admin.inc taxonomy_admin_vocabulary_edit($vocabulary)

Page to edit a vocabulary.

1 string reference to 'taxonomy_admin_vocabulary_edit'
taxonomy_menu in drupal-6.x/modules/taxonomy/taxonomy.module
Implementation of hook_menu().

File

drupal-6.x/modules/taxonomy/taxonomy.admin.inc, line 218
Administrative page callbacks for the taxonomy module.

Code

function taxonomy_admin_vocabulary_edit($vocabulary) {
  if ((isset($_POST['op']) && $_POST['op'] == t('Delete')) || isset($_POST['confirm'])) {
    return drupal_get_form('taxonomy_vocabulary_confirm_delete', $vocabulary->vid);
  }
  return drupal_get_form('taxonomy_form_vocabulary', (array) $vocabulary);
}