Implements template_preprocess_HOOK().
function template_preprocess_toolbar_tab_wrapper(&$variables) {
if (!isset($variables['element']['#wrapper_attributes'])) {
$variables['element']['#wrapper_attributes'] = array();
}
$variables['element']['#wrapper_attributes']['class'][] = 'tab';
}