function TestBlockVariantTrait::setUuidGenerator

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

Parameters

\Drupal\Component\Uuid\UuidInterface $uuid_generator:

Return value

$this

File

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

Class

TestBlockVariantTrait

Namespace

Drupal\Tests\ctools\Unit

Code

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