BlockRepositoryInterface::REGIONS_ALL

Same name and namespace in other branches
  1. 11.x core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_ALL
  2. 10 core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_ALL
  3. 9 core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_ALL
  4. 8.9.x core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::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

File

core/modules/block/src/BlockRepositoryInterface.php, line 28

Class

BlockRepositoryInterface
Provides an interface for the block repository.

Namespace

Drupal\block

Code

const REGIONS_ALL = 'all';

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