phptemplate_menu_local_tasks

Definition

phptemplate_menu_local_tasks()
drupal/themes/garland/template.php, line 81

Description

Returns the rendered local tasks. The default implementation renders them as tabs.

Related topics

Namesort iconDescription
Themeable functionsFunctions that display HTML, and which can be customized by themes.

Code

function phptemplate_menu_local_tasks() {
  $output = '';

  if ($primary = menu_primary_local_tasks()) {
    $output .= "<ul class=\"tabs primary\">\n". $primary ."</ul>\n";
  }

  return $output;
}