function taxonomy_admin_vocabulary_edit in Drupal 6
Same name and namespace in other branches
- 4 modules/taxonomy.module \taxonomy_admin_vocabulary_edit()
- 5 modules/taxonomy/taxonomy.module \taxonomy_admin_vocabulary_edit()
Page to edit a vocabulary.
1 string reference to 'taxonomy_admin_vocabulary_edit'
- taxonomy_menu in modules/
taxonomy/ taxonomy.module - Implementation of hook_menu().
File
- 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);
}