You are here

function taxonomy_menu_group_delete_confirm in Taxonomy menu 6.3

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

File

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

Code

function taxonomy_menu_group_delete_confirm(&$form_state, $mgid) {
  $form['mgid'] = array(
    '#type' => 'value',
    '#value' => $mgid,
  );
  $menu_group = taxonomy_menu_get_group($mgid);
  return confirm_form($form, t('Are you sure you want to delete %title?  This will also delete all of the related Menu Items', array(
    '%title' => $menu_group->name,
  )), 'admin/build/taxonomy_menu', t('This action cannot be undone'), t('Delete'), t('Cancel'));
}