public BlockInterface::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
File
core/modules/block/src/BlockInterface.php, line 91
Class
BlockInterface Provides an interface defining a block entity.
Namespace
Drupal\block
Code
public function setVisibilityConfig($instance_id, array $configuration);