theme_menu_local_task

includes/menu.inc, line 1163

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

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";
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.