function menu_secondary_local_tasks
Same name and namespace in other branches
- 6.x drupal-6.x/includes/menu.inc \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-7.x/
includes/ menu.inc - Returns a renderable element for the primary and secondary tabs.
Archivo
- drupal-7.x/
includes/ menu.inc, line 2228 - API for the Drupal menu system.
Código
function menu_secondary_local_tasks() {
$links = menu_local_tasks(1);
// Do not display single tabs.
return ($links['tabs']['count'] > 1 ? $links['tabs']['output'] : '');
}