You are here

function groupmenu_menu_alter in Group Menu 7

Implements hook_menu_alter().

We use this to override the /admin/structure/menu callback and replace it with our own groupmenu_admin_menu_overview_page().

File

./groupmenu.module, line 763
Integrates menu with Group.

Code

function groupmenu_menu_alter(&$items) {
  $items['admin/structure/menu']['page callback'] = 'groupmenu_admin_standard_menu_overview_page';
  $items['admin/structure/menu']['file'] = 'groupmenu.module';
  $items['admin/structure/menu']['module'] = 'groupmenu';
}