function theme_menu_local_task
Same name and namespace in other branches
- 7.x drupal-7.x/includes/menu.inc \theme_menu_local_task()
Generate the HTML output for a single local task link.
Related topics
1 theme call to theme_menu_local_task()
- menu_local_tasks in drupal-6.x/
includes/ menu.inc - Collects the local tasks (tabs) for a given level.
Archivo
- drupal-6.x/
includes/ menu.inc, line 1167 - API for the Drupal menu system.
Código
function theme_menu_local_task($link, $active = FALSE) {
return '<li ' . ($active ? 'class="active" ' : '') . '>' . $link . "</li>\n";
}