You are here

function taxonomy_term_confirm_delete_submit in Drupal 4

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

File

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

Code

function taxonomy_term_confirm_delete_submit($form_id, $form_values) {
  taxonomy_del_term($form_values['tid']);
  drupal_set_message(t('Deleted term %name.', array(
    '%name' => theme('placeholder', $form_values['name']),
  )));
  return 'admin/taxonomy';
}