You are here

function toolbar_preprocess_toolbar in Drupal 7

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";
}