You are here

public function ExposedFormCache::reset in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/ExposedFormCache.php \Drupal\views\ExposedFormCache::reset()
  2. 9 core/modules/views/src/ExposedFormCache.php \Drupal\views\ExposedFormCache::reset()

Rests the form cache.

File

core/modules/views/src/ExposedFormCache.php, line 58

Class

ExposedFormCache
Caches exposed forms, as they are heavy to generate.

Namespace

Drupal\views

Code

public function reset() {
  $this->cache = [];
}