LocaleConfigManager::isUpdatingTranslationsFromLocale

public 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 547

Class

LocaleConfigManager
Manages configuration supported in part by interface translation.

Namespace

Drupal\locale

Code

public function isUpdatingTranslationsFromLocale() {
  return $this->isUpdatingFromLocale;
}
doc_Drupal
2016-10-29 09:23:55
Comments
Leave a Comment

Please login to continue.