function template_preprocess_menu_tree
template_preprocess_menu_tree(&$variables)
Implements template_preprocess_HOOK() for theme_menu_tree().
Related topics
File
- includes/menu.inc, line 1608
- API for the Drupal menu system.
Code
function template_preprocess_menu_tree(&$variables) { $variables['tree'] = $variables['tree']['#children']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!menu.inc/function/template_preprocess_menu_tree/7.x