You are here

function taxonomy_vocabulary_confirm_delete_submit in Drupal 4

Same name and namespace in other branches
  1. 5 modules/taxonomy/taxonomy.module \taxonomy_vocabulary_confirm_delete_submit()
  2. 6 modules/taxonomy/taxonomy.admin.inc \taxonomy_vocabulary_confirm_delete_submit()
  3. 7 modules/taxonomy/taxonomy.admin.inc \taxonomy_vocabulary_confirm_delete_submit()

File

modules/taxonomy.module, line 340
Enables the organization of content into categories.

Code

function taxonomy_vocabulary_confirm_delete_submit($form_id, $form_values) {
  $status = taxonomy_del_vocabulary($form_values['vid']);
  drupal_set_message(t('Deleted vocabulary %name.', array(
    '%name' => theme('placeholder', $form_values['name']),
  )));
  return 'admin/taxonomy';
}