function menu_main_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_main_menu()
cle7 menu.inc menu_main_menu()
elmsmedia7 menu.inc menu_main_menu()
icor7 menu.inc menu_main_menu()
meedjum_blog7 menu.inc menu_main_menu()
mooc7 menu.inc menu_main_menu()

Returns an array of links to be rendered as the Main menu.

Related topics

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

File

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

Code

function menu_main_menu() {
  return menu_navigation_links(variable_get('menu_main_links_source', 'main-menu'));
}