theme_menu_tree

Versions
4.6 – 5
theme_menu_tree($pid = 1)
6
theme_menu_tree($tree)
7
theme_menu_tree($variables)

Theme wrapper for the HTML output for a menu sub-tree.

Parameters

$variables An associative array containing:

  • tree: @todo: document

Return value

A themed HTML string.

Related topics

Code

includes/menu.inc, line 1378

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.