REGIONS_VISIBLE
Same name in other branches
- 7.x modules/system/system.module \REGIONS_VISIBLE
- 9 core/modules/system/system.module \REGIONS_VISIBLE
- 10 core/modules/system/system.module \REGIONS_VISIBLE
- 11.x core/modules/system/system.module \REGIONS_VISIBLE
Return only visible regions.
See also
8 uses of REGIONS_VISIBLE
- BlockController::getVisibleRegionNames in core/
modules/ block/ src/ Controller/ BlockController.php - Returns the human-readable list of regions keyed by machine name.
- BlockForm::form in core/
modules/ block/ src/ BlockForm.php - Gets the actual form array to be built.
- BlockForm::themeSwitch in core/
modules/ block/ src/ BlockForm.php - Handles switching the available regions based on the selected theme.
- BlockListBuilder::buildBlocksForm in core/
modules/ block/ src/ BlockListBuilder.php - Builds the main "Blocks" portion of the form.
- BlockPlaceTest::testPlacingBlocksAdmin in core/
modules/ block_place/ tests/ src/ Functional/ BlockPlaceTest.php - Tests placing blocks as an admin.
File
-
core/
modules/ system/ system.module, line 88
Code
const REGIONS_VISIBLE = 'visible';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.