function ExposedFormCache::reset
Same name in other branches
- 9 core/modules/views/src/ExposedFormCache.php \Drupal\views\ExposedFormCache::reset()
- 8.9.x core/modules/views/src/ExposedFormCache.php \Drupal\views\ExposedFormCache::reset()
- 11.x 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\viewsCode
public function reset() {
$this->cache = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.