| 1 taxonomy.admin.inc | taxonomy_form_term_delete_submit($form, &$form_state) | 
Form submission handler for the 'Delete' button for taxonomy_form_term().
See also
File
- core/modules/ taxonomy/ taxonomy.admin.inc, line 1058 
- Admin page callbacks for the Taxonomy module.
Code
function taxonomy_form_term_delete_submit($form, &$form_state) {
  $destination = array();
  if (isset($_GET['destination'])) {
    $destination = backdrop_get_destination();
    unset($_GET['destination']);
  }
  $term = $form['#term'];
  $form_state['redirect'] = array('taxonomy/term/' . $term['tid'] . '/delete', array('query' => $destination));
}
