You are here

constant LOCALE_TRANSLATION_OVERWRITE_ALL in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/locale.module \LOCALE_TRANSLATION_OVERWRITE_ALL
  2. 10 core/modules/locale/locale.module \LOCALE_TRANSLATION_OVERWRITE_ALL

UI option for override of existing translations. Override any translation.

4 uses of LOCALE_TRANSLATION_OVERWRITE_ALL
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::testUpdateImportSourceLocal in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import from local sources.
LocaleUpdateTest::testUpdateImportSourceRemote in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests translation import from remote sources.

File

core/modules/locale/locale.module, line 117
Enables the translation of the user interface to languages other than English.

Code

const LOCALE_TRANSLATION_OVERWRITE_ALL = 'all';