| 5 menu.inc | theme_menu_local_task( |
| 6 menu.inc | theme_menu_local_task( |
| 7 menu.inc | theme_menu_local_task($variables) |
| 8 menu.inc | theme_menu_local_task($variables) |
Generate the HTML output for a single local task link.
Related topics
File
- includes/
menu.inc, line 1167 - API for the Drupal menu system.
Code
<?php
function theme_menu_local_task($link, $active = FALSE) {
return '<li ' . ($active ? 'class="active" ' : '') . '>' . $link . "</li>\n";
}
?> Login or register to post comments
Comments
Wrapper
Also See:
http://api.drupal.org/api/function/theme_menu_local_tasks
Returns the rendered local tasks. The default implementation renders them as tabs.