You are here

function bigmenu_menu_alter in Big Menu 6

Same name and namespace in other branches
  1. 7 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 79
alternative to core menu management

Code

function bigmenu_menu_alter(&$items) {
  $items['admin/build/menu-customize/%menu']['page arguments'] = array(
    'bigmenu_overview_form',
    3,
  );
  $items['admin/build/menu-customize/%menu']['file'] = 'bigmenu.admin.inc';
  $items['admin/build/menu-customize/%menu']['file path'] = drupal_get_path('module', 'bigmenu');

  #dpm($items['admin/build/menu-customize/%menu']);
}