function TestVariantCollectionTrait::setVariantConfig
Same name in other branches
- 4.0.x tests/src/Unit/VariantCollectionTraitTest.php \Drupal\Tests\ctools\Unit\TestVariantCollectionTrait::setVariantConfig()
Sets the variant configuration.
Parameters
array $config: The variant configuration.
Return value
$this
File
-
tests/
src/ Unit/ VariantCollectionTraitTest.php, line 199
Class
Namespace
Drupal\Tests\ctools\UnitCode
public function setVariantConfig(array $config) {
$this->variantConfig = $config;
return $this;
}