function CacheDecoratorInterface::setCacheKey

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

Specify the key to use when writing the cache.

File

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

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.