theme_menu_item_link

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

Generate the HTML output for a single menu link.

Related topics

Code

includes/menu.inc, line 1125

<?php
function theme_menu_item_link($link) {
  if (empty($link['localized_options'])) {
    $link['localized_options'] = array();
  }

  return l($link['title'], $link['href'], $link['localized_options']);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.