function TestBlockVariantTrait::setBlockConfig
Same name in other branches
- 8.x-3.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
Namespace
Drupal\Tests\ctools\UnitCode
public function setBlockConfig(array $config) {
$this->blockConfig = $config;
return $this;
}