function blockgroup_system_info_alter in Block Group 7
Same name and namespace in other branches
- 8 blockgroup.module \blockgroup_system_info_alter()
- 7.2 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 410 - Add block groups to block configuration page
Code
function blockgroup_system_info_alter(&$info, $file, $type) {
if ($type == 'theme') {
$info['regions'] += blockgroup_region_list();
}
}