theme_menu_item_link($item, $link_item)
drupal/includes/menu.inc, line 606
Generate the HTML representing a given menu item ID.
$item The menu item to render.
$link_mid The menu item which should be used to find the correct path.
| Name | Description |
|---|---|
| Menu system | Define the navigation menus, and route page requests to code based on URLs. |
| Themeable functions | Functions that display HTML, and which can be customized by themes. |
function theme_menu_item_link($item, $link_item) {
return l($item['title'], $link_item['path'], array_key_exists('description', $item) ? array('title' => $item['description']) : array());
}