function menu_secondary_menu

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc menu_secondary_menu()
cle7 menu.inc menu_secondary_menu()
elmsmedia7 menu.inc menu_secondary_menu()
icor7 menu.inc menu_secondary_menu()
meedjum_blog7 menu.inc menu_secondary_menu()
mooc7 menu.inc menu_secondary_menu()

Returns an array of links to be rendered as the Secondary links.

Related topics

2 calls to menu_secondary_menu()
ctools_page_secondary_links_content_type_render in sites/all/modules/ulmus/ctools/plugins/content_types/page/page_secondary_links.inc
Output function for the 'page_secondary_links' content type.
template_preprocess_page in includes/theme.inc
Preprocess variables for page.tpl.php

File

includes/menu.inc, line 1811
API for the Drupal menu system.

Code

function menu_secondary_menu() {

  // If the secondary menu source is set as the primary menu, we display the
  // second level of the primary menu.
  if (variable_get('menu_secondary_links_source', 'user-menu') == variable_get('menu_main_links_source', 'main-menu')) {
    return menu_navigation_links(variable_get('menu_main_links_source', 'main-menu'), 1);
  }
  else {
    return menu_navigation_links(variable_get('menu_secondary_links_source', 'user-menu'), 0);
  }
}