static function BlockAccessTestCase::getRegionOperations in Block Access 7
Helper - list region-specific operations
1 call to BlockAccessTestCase::getRegionOperations()
- BlockAccessUITestCase::testUISettingsEditPage in tests/
ui.test - Test UI on settings edit page
File
- tests/
common.test, line 74 - Tests for block_access - common methods
Class
- BlockAccessTestCase
- Tests for block_access - common methods
Code
static function getRegionOperations() {
// Region-specific operations
$theme = variable_get('theme_default', 'bartik');
$regions = system_region_list($theme);
return array_keys($regions);
}