1.20.x menu.inc menu_secondary_local_tasks()

Returns the rendered local tasks at the second level.

Related topics

File

includes/menu.inc, line 2405
API for the Backdrop menu system.

Code

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