You are here

public function LocaleConfigManager::isUpdatingTranslationsFromLocale in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 529
Contains \Drupal\locale\LocaleConfigManager.

Class

LocaleConfigManager
Manages configuration supported in part by interface translation.

Namespace

Drupal\locale

Code

public function isUpdatingTranslationsFromLocale() {
  return $this->isUpdatingFromLocale;
}