function theme_menu_block_item_link in Menu Block 5
Same name and namespace in other branches
- 5.2 menu_block.module \theme_menu_block_item_link()
Generate the HTML output for a single menu link.
Parameters
$link: array The menu item to render.
Return value
string The rendered menu link.
1 theme call to theme_menu_block_item_link()
- menu_block_tree in ./
menu_block.module - Returns a rendered menu tree or menu list.
File
- ./
menu_block.module, line 219
Code
function theme_menu_block_item_link($link) {
if (empty($link['attributes'])) {
$link['attributes'] = array();
}
return l($link['title'], $link['path'], $link['attributes'], isset($link['query']) ? $link['query'] : NULL);
}