REGIONS_VISIBLE

Same name and namespace in other branches
  1. 11.x core/modules/system/system.module \REGIONS_VISIBLE
  2. 10 core/modules/system/system.module \REGIONS_VISIBLE
  3. 9 core/modules/system/system.module \REGIONS_VISIBLE
  4. 8.9.x core/modules/system/system.module \REGIONS_VISIBLE
  5. 7.x 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.
BlockDeleteForm::getDeletionMessage in core/modules/block/src/Form/BlockDeleteForm.php
Gets the message to display to the user after deleting the entity.
BlockDeleteForm::getQuestion in core/modules/block/src/Form/BlockDeleteForm.php
BlockForm::form in core/modules/block/src/BlockForm.php
Gets the actual form array to be built.
BlockHooks::themeInitialize in core/modules/block/src/Hook/BlockHooks.php
Assigns an initial, default set of blocks for a theme.

... See full list

File

core/modules/system/system.module, line 46

Code

const REGIONS_VISIBLE = 'visible';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.