function theme_site_map_menu_tree in Site map 8
Same name and namespace in other branches
- 6.2 site_map.theme.inc \theme_site_map_menu_tree()
- 7 includes/site_map.theme.inc \theme_site_map_menu_tree()
Returns HTML for a wrapper for a menu sub-tree.
This is a clone of the core theme_menu_tree() function with the exception of the site_map specific class name used in the UL that also allow themers to override the function only for the site map page.
Parameters
array $variables: An associative array containing:
- tree: An HTML string containing the tree's items.
Return value
string Returns the html string with the <ul> for the menu tree.
See also
template_preprocess_menu_tree()
1 string reference to 'theme_site_map_menu_tree'
- site_map_theme in ./
site_map.module - Implements hook_theme().
File
- ./
site_map.theme.inc, line 112 - Site map theme functions.
Code
function theme_site_map_menu_tree(array $variables) {
return '<ul class="site-map-menu">' . $variables['tree'] . '</ul>';
}