constant LOCALE_TRANSLATION_OVERWRITE_NONE in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/locale.module \LOCALE_TRANSLATION_OVERWRITE_NONE
- 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_OVERWRITE_NONE
UI option for override of existing translations. Don't override existing translations.
3 uses of LOCALE_TRANSLATION_OVERWRITE_NONE
- LocaleSettingsForm::buildForm in core/
modules/ locale/ src/ Form/ LocaleSettingsForm.php - Form constructor.
- LocaleSettingsForm::submitForm in core/
modules/ locale/ src/ Form/ LocaleSettingsForm.php - Form submission handler.
- LocaleUpdateTest::testUpdateImportModeNone in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - Tests translation import and don't overwrite any translation.
File
- core/
modules/ locale/ locale.module, line 129 - Enables the translation of the user interface to languages other than English.
Code
const LOCALE_TRANSLATION_OVERWRITE_NONE = 'none';