You are here

function template_preprocess_site_map_menu_tree in Site map 7

Same name and namespace in other branches
  1. 8 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

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

Code

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