function theme_responsive_navigation_main_menu in Responsive Navigation 7
Theme the main menu as a Responsive Navigation menu.
Return value
mixed An HTML string of Responsive Navigation main menu links.
File
- ./
responsive_navigation.module, line 569
Code
function theme_responsive_navigation_main_menu($variables) {
// The number of children levels to display. Use -1 to display all children.
// and use 0 to display no children.
$depth = $variables['depth'];
$menu_name = variable_get('menu_main_links_source', 'main-menu');
$output = theme('responsive_navigation', array(
'id' => 0,
'menu_name' => $menu_name,
'mlid' => 0,
'depth' => $depth,
));
return $output['content'];
}