taxonomy_term_confirm_delete_submit
Definition
taxonomy_term_confirm_delete_submit($form_id, $form_values)
modules/taxonomy/taxonomy.module, line 611
Code
<?php
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' => $form_values['name'])));
watchdog('taxonomy', t('Deleted term %name.', array('%name' => $form_values['name'])), WATCHDOG_NOTICE);
return 'admin/content/taxonomy';
}
?> 