function bootstrap_menu_tree

7.x-3.x menu-tree.func.php bootstrap_menu_tree(array &$variables)

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

Parameters

array $variables: An associative array containing:

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

Return value

string The constructed HTML.

Related topics

Source templates/menu/menu-tree.func.php (line 23)

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