public Block::setVisibilityConfig($instance_id, array $configuration)
Sets the visibility condition configuration.
Parameters
string $instance_id: The condition instance ID.
array $configuration: The condition configuration.
Return value
$this
Overrides BlockInterface::setVisibilityConfig
File
core/modules/block/src/Entity/Block.php, line 258
Class
Block Defines a Block configuration entity class.
Namespace
Drupal\block\Entity
Code
public function setVisibilityConfig($instance_id, ar