You are here

function taxonomy_menu_term_set_delete_confirm in Taxonomy menu 6.3

1 string reference to 'taxonomy_menu_term_set_delete_confirm'
taxonomy_menu_menu in ./taxonomy_menu.module
Implementation of hook_menu().

File

./taxonomy_menu.admin.inc, line 658
admin section for taxonomy menu

Code

function taxonomy_menu_term_set_delete_confirm(&$form_state, $tsid) {
  $term_set = taxonomy_menu_get_term_set($tsid);
  $form['term_set'] = array(
    '#type' => 'value',
    '#value' => $term_set,
  );
  $form['#redirect'] = 'admin/build/taxonomy_menu/termset';
  return confirm_form($form, t('Are you sure you want to delete %title?', array(
    '%title' => check_plain($term_set->name),
  )), drupal_get_destination(), t('This action cannot be undone'), t('Delete'), t('Cancel'));
}