function CacheDecoratorInterface::setCacheKey

Same name in other branches
  1. 9 core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface::setCacheKey()
  2. 10 core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface::setCacheKey()
  3. 11.x core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface::setCacheKey()

Specify the key to use when writing the cache.

1 method overrides CacheDecoratorInterface::setCacheKey()
AliasManager::setCacheKey in core/lib/Drupal/Core/Path/AliasManager.php
Specify the key to use when writing the cache.

File

core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php, line 13

Class

CacheDecoratorInterface
Defines an interface for cache decorator implementations.

Namespace

Drupal\Core\CacheDecorator

Code

public function setCacheKey($key);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.