function TestBlockVariantTrait::setBlockPluginCollection

Same name in other branches
  1. 8.x-3.x tests/src/Unit/BlockVariantTraitTest.php \Drupal\Tests\ctools\Unit\TestBlockVariantTrait::setBlockPluginCollection()

Parameters

\Drupal\ctools\Plugin\BlockPluginCollection $block_plugin_collection:

Return value

$this

File

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

Class

TestBlockVariantTrait

Namespace

Drupal\Tests\ctools\Unit

Code

public function setBlockPluginCollection(BlockPluginCollection $block_plugin_collection) {
    $this->blockPluginCollection = $block_plugin_collection;
    return $this;
}