REGIONS_ALL

Same name and namespace in other branches
  1. 11.x core/modules/system/system.module \REGIONS_ALL
  2. 10 core/modules/system/system.module \REGIONS_ALL
  3. 9 core/modules/system/system.module \REGIONS_ALL
  4. 8.9.x core/modules/system/system.module \REGIONS_ALL
  5. 7.x modules/system/system.module \REGIONS_ALL

Return all regions.

Deprecated

in drupal:11.4.0 and is removed from drupal:13.0.0. Instead, use \Drupal\Core\Extension\Theme::listAllRegions().

See also

https://www.drupal.org/node/3015925

1 use of REGIONS_ALL
ThemeRegionTest::testLegacyRegionListing in core/tests/Drupal/KernelTests/Core/Theme/ThemeRegionTest.php
Tests listing a theme's regions using legacy functions.

File

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

Code

const REGIONS_ALL = 'all';

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