| Versionen | |
|---|---|
| drupal6 – drupal7 | _menu_router_cache($new_menu = NULL) |
Helper function to store the menu router if we have it in memory.
includes/
<?php
function _menu_router_cache($new_menu = NULL) {
$menu = &drupal_static(__FUNCTION__);
if (isset($new_menu)) {
$menu = $new_menu;
}
return $menu;
}
?>
Kommentare
Kommentar hinzufügen