function BlockInterface::getVisibilityConditions
Same name in other branches
- 9 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibilityConditions()
- 8.9.x core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibilityConditions()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.