You are here

function template_preprocess_site_map_menu_tree in Site map 8

Same name and namespace in other branches
  1. 7 includes/site_map.theme.inc \template_preprocess_site_map_menu_tree()

Preprocesses the rendered tree for theme_site_map_menu_tree().

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

File

./site_map.theme.inc, line 91
Site map theme functions.

Code

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