function TestBlockVariantTrait::setBlockPluginCollection
Same name in other branches
- 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
Namespace
Drupal\Tests\ctools\UnitCode
public function setBlockPluginCollection(BlockPluginCollection $block_plugin_collection) {
$this->blockPluginCollection = $block_plugin_collection;
return $this;
}