theme_menu_local_task

6/includes/menu.inc, line 1145

Versions
6
theme_menu_local_task($link, $active = FALSE)
5
theme_menu_local_task($mid, $active, $primary)

Generate the HTML output for a single local task link.

Related topics

Code

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