function blockgroup_system_info_alter in Block Group 7.2
Same name and namespace in other branches
- 8 blockgroup.module \blockgroup_system_info_alter()
- 7 blockgroup.module \blockgroup_system_info_alter()
Implements hook_system_info_alter().
Inject defined block groups as regions into all enabled themes.
File
- ./
blockgroup.module, line 408 - Add block groups to block configuration page
Code
function blockgroup_system_info_alter(&$info, $file, $type) {
if ($type == 'theme') {
$info['regions'] += blockgroup_region_list();
}
}