function _menu_router_cache

Stores the menu router if we have it in memory.

Related topics

3 calls to _menu_router_cache()

File

drupal/core/includes/menu.inc, line 2716
API for the Drupal menu system.

Code

function _menu_router_cache($new_menu = NULL) {
  $menu =& drupal_static(__FUNCTION__);
  if (isset($new_menu)) {
    $menu = $new_menu;
  }
  return $menu;
}