function BlockInterface::getVisibilityConditions

Same name in other branches
  1. 9 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibilityConditions()
  2. 8.9.x core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibilityConditions()
  3. 10 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

File

core/modules/block/src/BlockInterface.php, line 58

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function getVisibilityConditions();

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