You are here

public function LazyResettableContextRepository::resetCache in Tome 8

Resets the context cache.

File

modules/tome_static/src/LazyResettableContextRepository.php, line 17

Class

LazyResettableContextRepository
Decorates the context repository to allow for resetting of contexts.

Namespace

Drupal\tome_static

Code

public function resetCache() {
  $this->contexts = [];
}