You are here

function simplemenu_theme_menu_tree in SimpleMenu 5

Custom implementation of theme_menu_tree() to call our custom menu above.

1 call to simplemenu_theme_menu_tree()
simplemenu_menu_tree in ./simplemenu.module
Custom implementation of menu_tree(). We want to retrieve the entire menu structure for a given menu, regardless of whether or not the menu item is expanded or not.

File

./simplemenu.module, line 206
Creates a simplemenu.

Code

function simplemenu_theme_menu_tree($pid = 1) {
  if ($tree = simplemenu_menu_tree($pid)) {
    return '<ul>' . $tree . '</ul>';
  }
}