toolbar_preprocess_toolbar
function toolbar_preprocess_toolbar
toolbar_preprocess_toolbar(&$variables)
Implements hook_preprocess_toolbar().
Adding the 'overlay-displace-top' class to the toolbar pushes the overlay down, so it appears below the toolbar.
File
- modules/toolbar/toolbar.module, line 158
- Administration toolbar for quick access to top level administration items.
Code
function toolbar_preprocess_toolbar(&$variables) { $variables['classes_array'][] = "overlay-displace-top"; }
© 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.module/function/toolbar_preprocess_toolbar/7.x