public function LocaleConfigManager::isUpdatingTranslationsFromLocale in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/src/LocaleConfigManager.php \Drupal\locale\LocaleConfigManager::isUpdatingTranslationsFromLocale()
Indicates whether configuration translations are being updated from locale.
Return value
bool Whether or not configuration translations are currently being updated. If TRUE, LocaleConfigManager is in control of the process and the reference data is locale's storage. Changes made to active configuration and overrides in this case should not feed back to locale storage. On the other hand, when not updating from locale and configuration translations change, we need to feed back to the locale storage.
File
- core/
modules/ locale/ src/ LocaleConfigManager.php, line 545
Class
- LocaleConfigManager
- Manages configuration supported in part by interface translation.
Namespace
Drupal\localeCode
public function isUpdatingTranslationsFromLocale() {
return $this->isUpdatingFromLocale;
}