You are here

function taxonomy_manager_term_confirm_delete_submit in Taxonomy Manager 6

Same name and namespace in other branches
  1. 6.2 taxonomy_manager.admin.inc \taxonomy_manager_term_confirm_delete_submit()
  2. 7 taxonomy_manager.admin.inc \taxonomy_manager_term_confirm_delete_submit()

Submit handler to delete a term after confirmation.

2 calls to taxonomy_manager_term_confirm_delete_submit()
taxonomy_manager_form_delete_submit in ./taxonomy_manager.admin.inc
Submit handler for deleting terms
taxonomy_manager_form_submit in ./taxonomy_manager.admin.inc
submits the taxonomy manager form (only search button)

File

./taxonomy_manager.admin.inc, line 876

Code

function taxonomy_manager_term_confirm_delete_submit($form, &$form_state) {
  taxonomy_manager_delete_terms($form_state['values']['selected_terms'], $form_state['values']['options']);
  $form_state['redirect'] = 'admin/content/taxonomy_manager/voc/' . $form_state['values']['vid'];
  drupal_set_message("Selected terms deleted");
  return;
}