function theme_menu_item_link
6.x menu.inc | theme_menu_item_link($link) |
Generate the HTML output for a single menu link.
Related topics
2 theme calls to theme_menu_item_link()
- menu_local_tasks in drupal-6.x/
includes/ menu.inc - Collects the local tasks (tabs) for a given level.
- menu_tree_output in drupal-6.x/
includes/ menu.inc - Returns a rendered menu tree.
File
- drupal-6.x/
includes/ menu.inc, line 1129 - API for the Drupal menu system.
Code
function theme_menu_item_link($link) {
if (empty($link['localized_options'])) {
$link['localized_options'] = array();
}
return l($link['title'], $link['href'], $link['localized_options']);
}