Returns HTML for a toolbar item.
This theme function only renders the tab portion of the toolbar 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
toolbar_pre_render_item().
theme_toolbar().
File
- drupal/core/modules/toolbar/toolbar.module, line 330
- Administration toolbar for quick access to top level administration items.
Code
function theme_toolbar_item(&$variables) {
return drupal_render($variables['element']['tab']);
}