BlockRepositoryInterface::REGIONS_VISIBLE
Same name and namespace in other branches
- 11.x core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_VISIBLE
- 10 core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_VISIBLE
- 9 core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_VISIBLE
- 8.9.x core/modules/block/src/BlockRepositoryInterface.php \Drupal\block\BlockRepositoryInterface::REGIONS_VISIBLE
Return only visible regions.
Deprecated
in drupal:11.4.0 and is removed from drupal:13.0.0. Instead, use \Drupal\Core\Extension\Theme::listVisibleRegions().
See also
https://www.drupal.org/node/3015925
File
-
core/
modules/ block/ src/ BlockRepositoryInterface.php, line 18
Class
- BlockRepositoryInterface
- Provides an interface for the block repository.
Namespace
Drupal\blockCode
const REGIONS_VISIBLE = 'visible';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.