function 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\Cache

Code

public function reset() : void {
    $this->redirectChainCache = [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.