function menu_get_router

Gets the menu router.

Related topics

2 calls to menu_get_router()
menu_reset_item in drupal/modules/menu/menu.module
Reset a system-defined menu link.
SystemAdminTestCase::testAdminPages in drupal/modules/system/system.test
Tests output on administrative listing pages.


drupal/includes/, line 2844
API for the Drupal menu system.


function menu_get_router() {

  // Check first if we have it in memory already.
  $menu = _menu_router_cache();
  if (empty($menu)) {
    list($menu, $masks) = menu_router_build();
  return $menu;