BlockRepositoryInterface::REGIONS_VISIBLE

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

Code

const REGIONS_VISIBLE = 'visible';

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