function theme_menu_local_task

7.x menu.inc theme_menu_local_task($variables)
6.x menu.inc theme_menu_local_task($link, $active = FALSE)

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.

File

drupal-6.x/includes/menu.inc, line 1167
API for the Drupal menu system.

Code

function theme_menu_local_task($link, $active = FALSE) {
  return '<li ' . ($active ? 'class="active" ' : '') . '>' . $link . "</li>\n";
}