function TestVariantCollectionTrait::setUuidGenerator

Same name in other branches
  1. 4.0.x tests/src/Unit/VariantCollectionTraitTest.php \Drupal\Tests\ctools\Unit\TestVariantCollectionTrait::setUuidGenerator()

Parameters

\Drupal\Component\Uuid\UuidInterface $uuid_generator:

Return value

$this

File

tests/src/Unit/VariantCollectionTraitTest.php, line 179

Class

TestVariantCollectionTrait

Namespace

Drupal\Tests\ctools\Unit

Code

public function setUuidGenerator(UuidInterface $uuid_generator) {
    $this->uuidGenerator = $uuid_generator;
    return $this;
}