You are here

function bigmenu_menu_alter in Big Menu 7

Same name and namespace in other branches
  1. 6 bigmenu.module \bigmenu_menu_alter()

Take over core menu admin page.

hook_menu_alter()

@TODO - should be an admin toggle for this setting.

File

./bigmenu.module, line 73
Alternative to core menu management.

Code

function bigmenu_menu_alter(&$items) {
  $items['admin/structure/menu/manage/%menu']['page arguments'] = array(
    'bigmenu_overview_form',
    4,
  );
  $items['admin/structure/menu/manage/%menu']['file'] = 'bigmenu.admin.inc';
  $items['admin/structure/menu/manage/%menu']['file path'] = drupal_get_path('module', 'bigmenu');
}