function groupmenu_delete_menu_confirm in Group Menu 7
Form callback for node/%node/menus/%menu/delete.
1 string reference to 'groupmenu_delete_menu_confirm'
- groupmenu_menu in ./
groupmenu.module - Implements hook_menu().
File
- ./
groupmenu.pages.inc, line 156 - Page callbacks for groupmenu.
Code
function groupmenu_delete_menu_confirm($form, &$form_state, $menu, $gid) {
module_load_include('inc', 'menu', 'menu.admin');
$form = menu_delete_menu_confirm($form, $form_state, $menu);
$form['groupmenu_gid'] = array(
'#type' => 'value',
'#value' => $gid,
);
$form['actions']['cancel']['#href'] = 'group/' . $gid . '/menus/' . $menu['menu_name'];
$form['#submit'][] = 'menu_delete_menu_confirm_submit';
$form['#submit'][] = 'groupmenu_delete_menu_confirm_submit';
$form['#submit'][] = 'groupmenu_delete_menu_confirm_submit_redirect';
return $form;
}