public function CacheDecoratorInterface::setCacheKey in Drupal 9
Same name and namespace in other branches
- 8 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 13
Class
- CacheDecoratorInterface
- Defines an interface for cache decorator implementations.
Namespace
Drupal\Core\CacheDecoratorCode
public function setCacheKey($key);