1 menu.inc _menu_router_cache($new_menu = NULL)

Stores the menu router if we have it in memory.

Related topics

File

core/includes/menu.inc, line 2955
API for the Backdrop menu system.

Code

function _menu_router_cache($new_menu = NULL) {
  $menu = &backdrop_static(__FUNCTION__);

  if (isset($new_menu)) {
    $menu = $new_menu;
  }
  return $menu;
}