function BlockVariantInterface::updateBlock

Same name in other branches
  1. 4.0.x src/Plugin/BlockVariantInterface.php \Drupal\ctools\Plugin\BlockVariantInterface::updateBlock()

Updates the configuration of a specific block plugin.

Parameters

string $block_id: The block ID.

array $configuration: The array of configuration to set.

Return value

$this

File

src/Plugin/BlockVariantInterface.php, line 84

Class

BlockVariantInterface
Provides an interface for variant plugins that use block plugins.

Namespace

Drupal\ctools\Plugin

Code

public function updateBlock($block_id, array $configuration);