function FileCache::reset
Same name in other branches
- 9 core/lib/Drupal/Component/FileCache/FileCache.php \Drupal\Component\FileCache\FileCache::reset()
- 10 core/lib/Drupal/Component/FileCache/FileCache.php \Drupal\Component\FileCache\FileCache::reset()
- 11.x core/lib/Drupal/Component/FileCache/FileCache.php \Drupal\Component\FileCache\FileCache::reset()
Resets the static cache.
@todo Replace this once https://www.drupal.org/node/2260187 is in.
1 call to FileCache::reset()
- KernelTestBase::tearDown in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php
File
-
core/
lib/ Drupal/ Component/ FileCache/ FileCache.php, line 156
Class
- FileCache
- Allows to cache data based on file modification dates.
Namespace
Drupal\Component\FileCacheCode
public static function reset() {
static::$cached = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.