| 6 menu.inc | menu_set_item($path, $router_item) |
| 7 menu.inc | menu_set_item($path, $router_item) |
| 8 menu.inc | menu_set_item($path, $router_item) |
Replaces the statically cached item for a given path.
Parameters
$path: The path.
$router_item: The router item. Usually you take a router entry from menu_get_item and set it back either modified or to a different path. This lets you modify the navigation block, the page title, the breadcrumb and the page help in one call.
Related topics
1 call to menu_set_item()
File
- includes/
menu.inc, line 425 - API for the Drupal menu system.
Code
function menu_set_item($path, $router_item) {
menu_get_item($path, $router_item);
}
Login or register to post comments