You are here

function theme_menu_block_split_menu in Menu Block Split 7.2

Same name and namespace in other branches
  1. 6.2 menu_block_split.module \theme_menu_block_split_menu()
  2. 6 menu_block_split.module \theme_menu_block_split_menu()

Theme menu.

Parameters

string $name:

array $tree:

int $level:

Return value

menu tree

1 theme call to theme_menu_block_split_menu()
menu_block_split_block_view in ./menu_block_split.module
Implements hook_block_view().

File

./menu_block_split.module, line 390
Allow a menu to be split over two blocks Developed by Robert Garrigos <robert@garrigos.cat> Modified for Drupal 6.x by Frank Meyerer <meyerer@digi-info.de> http://www.digi-info.de currently maintained by Bob Hutchinson…

Code

function theme_menu_block_split_menu($variables) {
  $name = $variables['name'];
  $tree = $variables['tree'];
  $level = $variables['level'];
  if ($menu = menu_block_split_render_tree($tree, $level)) {
    return '<ul class="menu">' . $menu . '</ul>';
  }
}