function LocaleProjectStorage::resetCache
Same name in other branches
- 9 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()
- 10 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()
- 11.x core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::resetCache()
Overrides LocaleProjectStorageInterface::resetCache
1 call to LocaleProjectStorage::resetCache()
- LocaleProjectStorage::deleteAll in core/
modules/ locale/ src/ LocaleProjectStorage.php - Deletes all projects records.
File
-
core/
modules/ locale/ src/ LocaleProjectStorage.php, line 123
Class
- LocaleProjectStorage
- Provides the locale project storage system using a key value store.
Namespace
Drupal\localeCode
public function resetCache() {
$this->cache = [];
static::$all = FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.