REGIONS_VISIBLE

Same name in other branches
  1. 7.x modules/system/system.module \REGIONS_VISIBLE
  2. 9 core/modules/system/system.module \REGIONS_VISIBLE
  3. 10 core/modules/system/system.module \REGIONS_VISIBLE
  4. 11.x core/modules/system/system.module \REGIONS_VISIBLE

Return only visible regions.

See also

system_region_list()

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.

... See full list

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.