function blockgroup_region_list in Block Group 7.2
Same name and namespace in other branches
- 8 blockgroup.module \blockgroup_region_list()
- 7 blockgroup.module \blockgroup_region_list()
Return a list of regions created by block groups.
4 calls to blockgroup_region_list()
- blockgroup_block_list_alter in ./
blockgroup.module - Implements hook_block_list_alter().
- blockgroup_page_alter in ./
blockgroup.module - Implements hook_page_alter().
- blockgroup_preprocess_region in ./
blockgroup.module - Implements hook_preprocess_HOOK().
- blockgroup_system_info_alter in ./
blockgroup.module - Implements hook_system_info_alter().
1 string reference to 'blockgroup_region_list'
- blockgroup_rebuild_data in ./
blockgroup.module - Clear caches and rebuild blockgroup and theme data.
File
- ./
blockgroup.module, line 479 - Add block groups to block configuration page
Code
function blockgroup_region_list() {
$regions =& drupal_static(__FUNCTION__);
if (!isset($regions)) {
$regions = array();
foreach (blockgroup_list() as $delta => $title) {
$regions[blockgroup_get_region($delta)] = t('Block group: @title', array(
'@title' => $title,
));
}
}
return $regions;
}