function menu_set_item
Same name and namespace in other branches
- 6.x drupal-6.x/includes/menu.inc \menu_set_item()
Replaces the statically cached item for a given path.
Parameters
$path: The path.
$router_item: The router item. Usually a router entry from menu_get_item() is either modified or set to a different path. This allows the navigation block, the page title, the breadcrumb, and the page help to be modified in one call.
Related topics
1 call to menu_set_item()
- MenuRouterTestCase::testMenuSetItem in drupal-7.x/
modules/ simpletest/ tests/ menu.test - Test menu_set_item().
Archivo
- drupal-7.x/
includes/ menu.inc, line 425 - API for the Drupal menu system.
Código
function menu_set_item($path, $router_item) {
menu_get_item($path, $router_item);
}