theme_menu_item_link

Versions
5
theme_menu_item_link($item, $link_item)
6
theme_menu_item_link($link)

Generate the HTML representing a given menu item ID.

Parameters

$item The menu item to render.

$link_item The menu item which should be used to find the correct path.

Related topics

Code

5/includes/menu.inc, line 699

<?php
function theme_menu_item_link($item, $link_item) {
  return l($item['title'], $link_item['path'], !empty($item['description']) ? array('title' => $item['description']) : array(), isset($item['query']) ? $item['query'] : NULL);
}
?>