public function ConfigContext::setUuid

Implements \Drupal\Core\Config\Context\ContextInterface::setUuid().

Overrides ContextInterface::setUuid

1 call to ConfigContext::setUuid()
ConfigContext::init in drupal/core/lib/Drupal/Core/Config/Context/ConfigContext.php
Implements \Drupal\Core\Config\Context\ContextInterface::init().

File

drupal/core/lib/Drupal/Core/Config/Context/ConfigContext.php, line 91
Contains \Drupal\Core\Config\Context\ConfigContext.

Class

ConfigContext
Defines the base configuration context object.

Namespace

Drupal\Core\Config\Context

Code

public function setUuid() {
  $uuid = new Uuid();
  $this->uuid = $uuid
    ->generate();
}