menu_secondary_local_tasks

  1. drupal
    1. 5
    2. 6
    3. 7
    4. 8
Versions
5 – 7 menu_secondary_local_tasks()

Returns the rendered local tasks at the second level.

Related topics

▾ 1 function calls menu_secondary_local_tasks()

menu_local_tabs in includes/menu.inc
Returns a renderable element for the primary and secondary tabs.

Code

includes/menu.inc, line 2204

<?php
function menu_secondary_local_tasks() {
  $links = menu_local_tasks(1);
  // Do not display single tabs.
  return ($links['tabs']['count'] > 1 ? $links['tabs']['output'] : '');
}
?>