You are here

function og_menu_delete_menu_confirm in Organic Groups Menu (OG Menu) 6

Same name and namespace in other branches
  1. 6.2 og_menu.module \og_menu_delete_menu_confirm()
  2. 7.3 og_menu.pages.inc \og_menu_delete_menu_confirm()
  3. 7.2 og_menu.pages.inc \og_menu_delete_menu_confirm()
1 string reference to 'og_menu_delete_menu_confirm'
og_menu_delete_menu_page in ./og_menu.module

File

./og_menu.module, line 388
Integrates Menu with Organic Groups. Lots of menu forms duplication in OG context.

Code

function og_menu_delete_menu_confirm(&$form_state, $menu) {
  module_load_include('inc', 'menu', 'menu.admin');
  $form = drupal_retrieve_form('menu_delete_menu_confirm', $form_state, $menu);
  $form['#submit'][] = 'menu_delete_menu_confirm_submit';
  $form['#submit'][] = 'og_menu_delete_menu_confirm_submit';
  $form['#submit'][] = 'og_menu_delete_menu_confirm_submit_redirect';
  return $form;
}