You are here

function theme_responsive_navigation_secondary_menu in Responsive Navigation 7

Theme the secondary menu as a Responsive Navigation menu.

Return value

mixed An HTML string of Responsive Navigation secondary menu links.

File

./responsive_navigation.module, line 590

Code

function theme_responsive_navigation_secondary_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_secondary_links_source', 'user-menu');
  $output = theme('responsive_navigation', array(
    'id' => 0,
    'menu_name' => $menu_name,
    'mlid' => 0,
    'depth' => $depth,
  ));
  return $output['content'];
}