You are here

function groupmenu_delete_menu_form_submit in Group Menu 7

Submit handler for groupmenu_edit_menu_form().

1 string reference to 'groupmenu_delete_menu_form_submit'
groupmenu_edit_menu_form in ./groupmenu.pages.inc
Menu callback.

File

./groupmenu.pages.inc, line 89
Page callbacks for groupmenu.

Code

function groupmenu_delete_menu_form_submit($form, &$form_state) {
  $gid = $form['groupmenu_gid']['#value'];
  $menu_name = $form['groupmenu_name']['#value'];
  $form_state['redirect'] = 'group/' . $gid . '/menus/' . $menu_name . '/delete';
}