You are here

public function BlockInterface::getVisibilityCondition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/BlockInterface.php \Drupal\block\BlockInterface::getVisibilityCondition()

Gets a visibility condition plugin instance.

Parameters

string $instance_id: The condition plugin instance ID.

Return value

\Drupal\Core\Condition\ConditionInterface A condition plugin.

1 method overrides BlockInterface::getVisibilityCondition()
Block::getVisibilityCondition in core/modules/block/src/Entity/Block.php
Gets a visibility condition plugin instance.

File

core/modules/block/src/BlockInterface.php, line 84
Contains \Drupal\block\BlockInterface.

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function getVisibilityCondition($instance_id);