You are here

function theme_site_map_menu_tree in Site map 7

Same name and namespace in other branches
  1. 8 site_map.theme.inc \theme_site_map_menu_tree()
  2. 6.2 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.

@codingStandardsIgnoreStart

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()

File

includes/site_map.theme.inc, line 145
site_map.theme.inc

Code

function theme_site_map_menu_tree($variables) {

  // @codingStandardsIgnoreEnd
  return '<ul class="site-map-menu">' . $variables['tree'] . '</ul>';
}