function BlockVariantTrait::uuidGenerator

Same name in other branches
  1. 8.x-3.x src/Plugin/BlockVariantTrait.php \Drupal\ctools\Plugin\BlockVariantTrait::uuidGenerator()

Returns the UUID generator.

Return value

\Drupal\Component\Uuid\UuidInterface

2 methods override BlockVariantTrait::uuidGenerator()
BlockDisplayVariant::uuidGenerator in src/Plugin/DisplayVariant/BlockDisplayVariant.php
Returns the UUID generator.
TestBlockVariantTrait::uuidGenerator in tests/src/Unit/BlockVariantTraitTest.php
Returns the UUID generator.

File

src/Plugin/BlockVariantTrait.php, line 160

Class

BlockVariantTrait
Provides methods for \Drupal\ctools\Plugin\BlockVariantInterface.

Namespace

Drupal\ctools\Plugin

Code

protected abstract function uuidGenerator();