function theme_menu_local_tasks

You are here

7 menu.inc theme_menu_local_tasks(&$variables)
4.6 menu.inc theme_menu_local_tasks()
4.7 menu.inc theme_menu_local_tasks()
5 menu.inc theme_menu_local_tasks()
6 menu.inc theme_menu_local_tasks()
8 menu.inc theme_menu_local_tasks(&$variables)

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

Related topics

2 theme calls to theme_menu_local_tasks()
chameleon_page in themes/chameleon/chameleon.theme
template_preprocess_page in includes/theme.inc
Process variables for page.tpl.php

File

includes/menu.inc, line 1459
API for the Drupal menu system.

Code

function theme_menu_local_tasks() {
  $output = '';

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

  return $output;
}

Comments

it would be great if there was any links here to a page which explains the whole menu based or tabbed based system of the drupal and functions which are usefull for modifying it.

There are only 454 lines in menu.inc in D6. so where is this implemented????

Its on line 1458... It would have to be since this page is generated directly from that code.