theme_menu_item_link($link)
drupal/includes/menu.inc, line 1228
Generate the HTML output for a single menu link.
| Name | Description |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
| Menu system | Define the navigation menus, and route page requests to code based on URLs. |
function theme_menu_item_link($link) {
if (empty($link['localized_options'])) {
$link['localized_options'] = array();
}
return l($link['title'], $link['href'], $link['localized_options']);
}