You are here

function theme_sitemap_menu_tree in Sitemap 8

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 sitemap specific class name used in the UL that also allow themers to override the function only for the sitemap 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_sitemap_menu_tree'
sitemap_theme in ./sitemap.module
Implements hook_theme().

File

./sitemap.theme.inc, line 79
Sitemap theme functions.

Code

function theme_sitemap_menu_tree(array $variables) {
  return '<ul class="sitemap-menu">' . $variables['tree'] . '</ul>';
}