You are here

function blockgroup_preprocess_region in Block Group 7.2

Same name and namespace in other branches
  1. 7 blockgroup.module \blockgroup_preprocess_region()

Implements hook_preprocess_HOOK().

Insert 'blockgroup' into classes array for regions defined by this module.

File

./blockgroup.module, line 395
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';
  }
}