function CacheDecoratorInterface::setCacheKey
Same name in other branches
- 9 core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface::setCacheKey()
- 8.9.x core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface::setCacheKey()
- 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\CacheDecoratorCode
public function setCacheKey($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.