public function LocaleConfigManager::reset in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/src/LocaleConfigManager.php \Drupal\locale\LocaleConfigManager::reset()
- 10 core/modules/locale/src/LocaleConfigManager.php \Drupal\locale\LocaleConfigManager::reset()
Reset static cache of configuration string translations.
Return value
$this
File
- core/
modules/ locale/ src/ LocaleConfigManager.php, line 418
Class
- LocaleConfigManager
- Manages configuration supported in part by interface translation.
Namespace
Drupal\localeCode
public function reset() {
$this->translations = [];
return $this;
}