function menu_secondary_local_tasks

Returns the rendered local tasks at the second level.

Related topics

1 call to menu_secondary_local_tasks()
menu_local_tabs in drupal/core/includes/menu.inc
Returns a renderable element for the primary and secondary tabs.

File

drupal/core/includes/menu.inc, line 2242
API for the Drupal menu system.

Code

function menu_secondary_local_tasks() {
  $links = menu_local_tasks(1);

  // Do not display single tabs.
  return count(element_get_visible_children($links['tabs'])) > 1 ? $links['tabs'] : '';
}