You are here

function theme_navbar_item in Navbar 7

Returns HTML for a navbar item.

This theme function only renders the tab portion of the navbar item. The tray portion will be rendered later.

Parameters

array $variables: An associative array containing:

  • element: An associative array containing the properties and children of the tray. Property used: tab.

See also

navbar_pre_render_item().

theme_navbar().

1 theme call to theme_navbar_item()
navbar_element_info in ./navbar.module
Implements hook_element_info().

File

./navbar.module, line 419
Administration navbar for quick access to top level administration items.

Code

function theme_navbar_item(&$variables) {
  return drupal_render($variables['element']['tab']);
}