function template_preprocess_menu_tree
Implements template_preprocess_HOOK() for theme_menu_tree().
Related topics
File
-
includes/
menu.inc, line 1621
Code
function template_preprocess_menu_tree(&$variables) {
$variables['#tree'] = $variables['tree'];
$variables['tree'] = $variables['tree']['#children'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.