LOCALE_TRANSLATION_OVERWRITE_ALL

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

Code

const LOCALE_TRANSLATION_OVERWRITE_ALL = 'all';

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