public function BlockInterface::getVisibility in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibility()
- 9 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibility()
Returns an array of visibility condition configurations.
Return value
array An array of visibility condition configuration keyed by the condition ID.
1 method overrides BlockInterface::getVisibility()
- Block::getVisibility in core/
modules/ block/ src/ Entity/ Block.php - Returns an array of visibility condition configurations.
File
- core/
modules/ block/ src/ BlockInterface.php, line 50
Class
- BlockInterface
- Provides an interface defining a block entity.
Namespace
Drupal\blockCode
public function getVisibility();