You are here

function blockgroup_get_region in Block Group 7.2

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

Returns the region name defined by the given blockgroup.

@returns string The machine name of the region.

Parameters

string $delta: The machine name of the blockgroup.

4 calls to blockgroup_get_region()
BlockgroupTestCase::testCRUDBlockGroup in ./blockgroup.test
Test creating block group, moving it to a specific region and then deleting it.
blockgroup_block_view in ./blockgroup.module
Implements hook_block_view().
blockgroup_form_block_admin_display_form_alter in ./blockgroup.module
Implements hook_FORM_ID_alter().
blockgroup_preprocess_block in ./blockgroup.module
Implements hook_preprocess_HOOK().

File

./blockgroup.module, line 565
Add block groups to block configuration page

Code

function blockgroup_get_region($delta) {
  return 'blockgroup_' . $delta;
}