function blockgroup_preprocess_region in Block Group 7
Same name and namespace in other branches
- 7.2 blockgroup.module \blockgroup_preprocess_region()
Implements hook_preprocess_HOOK().
Insert 'blockgroup' into classes array for regions defined by this module.
File
- ./
blockgroup.module, line 397 - Add block groups to block configuration page
Code
function blockgroup_preprocess_region(&$variables) {
$blockgroup_regions = blockgroup_region_list();
if (isset($blockgroup_regions[$variables['region']])) {
$variables['classes_array'][] = 'blockgroup';
}
}