You are here

function template_preprocess_sitemap_menu_tree in Sitemap 8

Preprocesses the rendered tree for theme_sitemap_menu_tree().

This is a clone of the core template_preprocess_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.

File

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

Code

function template_preprocess_sitemap_menu_tree(&$variables) {
  $variables['tree'] = $variables['tree']['#children'];
}