function menu_primary_links

You are here

4.7 menu.inc menu_primary_links($start_level = 1, $pid = 0)
5 menu.inc menu_primary_links($start_level = 1, $pid = 0)
6 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'));
}