function template_preprocess_menu_tree

You are here

7 menu.inc template_preprocess_menu_tree(&$variables)
8 menu.inc template_preprocess_menu_tree(&$variables)

Implements template_preprocess_HOOK() for theme_menu_tree().

Related topics

File

includes/menu.inc, line 1598
API for the Drupal menu system.

Code

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