toolbar.tpl.php
toolbar.tpl.php
Default template for admin toolbar.
Available variables:
-
$classes: String of classes that can be used to style contextually through CSS. It can be manipulated through the variable $classes_array from preprocess functions. The default value has the following:
- toolbar: The current template type, i.e., "theming hook".
- $toolbar['toolbar_user']: User account / logout links.
- $toolbar['toolbar_menu']: Top level management menu links.
- $toolbar['toolbar_drawer']: A place for extended toolbar content.
Other variables:
- $classes_array: Array of html class attribute values. It is flattened into a string within the variable $classes.
See also
template_preprocess_toolbar()
File
modules/toolbar/toolbar.tpl.phpRelated topics
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!toolbar!toolbar.tpl.php/7.x