function TestBlockVariantTrait::setBlockConfig

Same name in other branches
  1. 4.0.x tests/src/Unit/BlockVariantTraitTest.php \Drupal\Tests\ctools\Unit\TestBlockVariantTrait::setBlockConfig()

Sets the block configuration.

Parameters

array $config: The block configuration.

Return value

$this

File

tests/src/Unit/BlockVariantTraitTest.php, line 134

Class

TestBlockVariantTrait

Namespace

Drupal\Tests\ctools\Unit

Code

public function setBlockConfig(array $config) {
    $this->blockConfig = $config;
    return $this;
}