Same name and namespace in other branches
  1. 4.7.x includes/menu.inc \menu_primary_links()
  2. 5.x includes/menu.inc \menu_primary_links()

Return an array of links to be rendered as the Primary links.

Related topics

2 calls to menu_primary_links()
chameleon_page in themes/chameleon/chameleon.theme
template_preprocess_page in includes/theme.inc
Process variables for page.tpl.php

File

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

Code

function menu_primary_links() {
  return menu_navigation_links(variable_get('menu_primary_links_source', 'primary-links'));
}