protected LocaleConfigManager::deleteTranslationOverride($name, $langcode)
Deletes translated configuration data.
Parameters
string $name: Configuration object name.
string $langcode: Language code.
File
- core/modules/locale/src/LocaleConfigManager.php, line 283
Class
- LocaleConfigManager
- Manages configuration supported in part by interface translation.
Namespace
Drupal\locale
Code
protected function deleteTranslationOverride($name, $langcode) { $this->isUpdatingFromLocale = TRUE; $this->languageManager->getLanguageConfigOverride($langcode, $name)->delete(); $this->isUpdatingFromLocale = FALSE; }
Please login to continue.