function menu_main_menu
7.x menu.inc | menu_main_menu() |
Returns an array of links to be rendered as the Main menu.
Related topics
1 call to menu_main_menu()
- template_preprocess_page in drupal-7.x/
includes/ theme.inc - Preprocess variables for page.tpl.php
File
- drupal-7.x/
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'));
}