theme_menu_tree

  1. drupal
    1. 4.7 menu.inc
    2. 5 menu.inc
    3. 6
    4. 7
Versions
4.7 – 5 theme_menu_tree($pid = 1)
6 theme_menu_tree($tree)
7 theme_menu_tree($variables)

Returns HTML for a wrapper for a menu sub-tree.

Parameters

$variables An associative array containing:

  • tree: An HTML string containing the tree's items.

See also

template_preprocess_menu_tree()

Related topics

Code

drupal/includes/menu.inc, line 1531

<?php
function theme_menu_tree($variables) {
  return '<ul class="menu">' . $variables['tree'] . '</ul>';
}
?>