function VariationCache::reset
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Cache/VariationCache.php \Drupal\Core\Cache\VariationCache::reset()
Reset statically cached variables.
This is only used by tests.
@internal
File
-
core/
lib/ Drupal/ Core/ Cache/ VariationCache.php, line 479
Class
- VariationCache
- Wraps a regular cache backend to make it support cache contexts.
Namespace
Drupal\Core\CacheCode
public function reset() : void {
$this->redirectChainCache = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.