LOCALE_TRANSLATION_OVERWRITE_NONE

Same name in other branches
  1. 8.9.x core/modules/locale/locale.module \LOCALE_TRANSLATION_OVERWRITE_NONE
  2. 10 core/modules/locale/locale.module \LOCALE_TRANSLATION_OVERWRITE_NONE
  3. 11.x 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 131

Code

const LOCALE_TRANSLATION_OVERWRITE_NONE = 'none';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.