You are here

function template_preprocess_navbar_tab_wrapper in Navbar 7

Implements template_preprocess_HOOK().

File

./navbar.module, line 398
Administration navbar for quick access to top level administration items.

Code

function template_preprocess_navbar_tab_wrapper(&$variables) {
  if (!isset($variables['element']['#wrapper_attributes'])) {
    $variables['element']['#wrapper_attributes'] = array();
  }
  $variables['element']['#wrapper_attributes']['class'][] = 'navbar-tab';
}