1.20.x menu.inc | menu_get_router() |
Gets the menu router.
Related topics
File
- includes/
menu.inc, line 2962 - API for the Backdrop menu system.
Code
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;
}