function toolbar_preprocess_toolbar
7.x toolbar.module | 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
- drupal-7.x/
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";
}