| 5 menu.inc | theme_menu_local_tasks() |
| 6 menu.inc | theme_menu_local_tasks() |
| 7 menu.inc | theme_menu_local_tasks(&$variables) |
| 8 menu.inc | theme_menu_local_tasks(&$variables) |
Returns the rendered local tasks. The default implementation renders them as tabs.
Related topics
3 theme calls to theme_menu_local_tasks()
File
- includes/
menu.inc, line 740 - API for the Drupal menu system.
Code
function theme_menu_local_tasks() {
$output = '';
if ($primary = menu_primary_local_tasks()) {
$output .= "<ul class=\"tabs primary\">\n" . $primary . "</ul>\n";
}
if ($secondary = menu_secondary_local_tasks()) {
$output .= "<ul class=\"tabs secondary\">\n" . $secondary . "</ul>\n";
}
return $output;
}
Login or register to post comments