interface CacheDecoratorInterface
Same name in other branches
- 8.9.x core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface
- 10 core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface
- 11.x core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php \Drupal\Core\CacheDecorator\CacheDecoratorInterface
Defines an interface for cache decorator implementations.
Hierarchy
- interface \Drupal\Core\CacheDecorator\CacheDecoratorInterface
Expanded class hierarchy of CacheDecoratorInterface
All classes that implement CacheDecoratorInterface
File
-
core/
lib/ Drupal/ Core/ CacheDecorator/ CacheDecoratorInterface.php, line 8
Namespace
Drupal\Core\CacheDecoratorView source
interface CacheDecoratorInterface {
/**
* Specify the key to use when writing the cache.
*/
public function setCacheKey($key);
/**
* Write the cache.
*/
public function writeCache();
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
CacheDecoratorInterface::setCacheKey | public | function | Specify the key to use when writing the cache. |
CacheDecoratorInterface::writeCache | public | function | Write the cache. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.