You are here

public function BlockInterface::setVisibilityConfig in Zircon Profile 8.0

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

Sets the visibility condition configuration.

Parameters

string $instance_id: The condition instance ID.

array $configuration: The condition configuration.

Return value

$this

1 method overrides BlockInterface::setVisibilityConfig()
Block::setVisibilityConfig in core/modules/block/src/Entity/Block.php
Sets the visibility condition configuration.

File

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

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function setVisibilityConfig($instance_id, array $configuration);