public function BlockInterface::getVisibilityConditions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibilityConditions()
Gets conditions for this block.
Return value
\Drupal\Core\Condition\ConditionInterface[]|\Drupal\Core\Condition\ConditionPluginCollection An array or collection of configured condition plugins.
1 method overrides BlockInterface::getVisibilityConditions()
- Block::getVisibilityConditions in core/
modules/ block/ src/ Entity/ Block.php - Gets conditions for this block.
File
- core/
modules/ block/ src/ BlockInterface.php, line 58
Class
- BlockInterface
- Provides an interface defining a block entity.
Namespace
Drupal\blockCode
public function getVisibilityConditions();