function theme_menu_tree

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc theme_menu_tree($variables)
cle7 menu.inc theme_menu_tree($variables)
elmsmedia7 menu.inc theme_menu_tree($variables)
icor7 menu.inc theme_menu_tree($variables)
meedjum_blog7 menu.inc theme_menu_tree($variables)
mooc7 menu.inc 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

3 string references to the theme hook from theme_menu_tree()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

drupal_common_theme in includes/common.inc
Provides theme registration for themes across .inc files.
menu_reset_static_cache in includes/menu.inc
Resets the menu system static cache.
menu_tree_output in includes/menu.inc
Returns a rendered menu tree.

File

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

Code

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