menu_main_menu
function menu_main_menu
menu_main_menu()
Returns an array of links to be rendered as the Main menu.
Related topics
File
- includes/menu.inc, line 1814
- API for the Drupal menu system.
Code
function menu_main_menu() { return menu_navigation_links(variable_get('menu_main_links_source', 'main-menu')); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!menu.inc/function/menu_main_menu/7.x