function protected function ProviderBase::getKeyValue

8.x-3.x ProviderBase.php protected ProviderBase::getKeyValue()

Retrieves a permanent key/value storage instance.

Return value

\Drupal\Core\KeyValueStore\KeyValueStoreInterface A permanent key/value storage instance.

Class

ProviderBase
CDN Provider base class.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/ProviderBase.php (line 450)

protected function getKeyValue() {
  if (!isset($this->keyValue)) {
    $this->keyValue = \Drupal::keyValue($this->getCacheId());
  }
  return $this->keyValue;
}