function garland_preprocess_region

Override or insert variables into the region template.

File

themes/garland/template.php, line 152

Code

function garland_preprocess_region(&$variables) {
    if ($variables['region'] == 'header') {
        $variables['classes_array'][] = 'clearfix';
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.