LOCALE_CUSTOMIZED |
constant |
core/modules/locale/locale.module |
Flag for locally customized interface translation. |
LOCALE_NOT_CUSTOMIZED |
constant |
core/modules/locale/locale.module |
Flag for locally not customized interface translation. |
TranslationString::$customized |
property |
core/modules/locale/src/TranslationString.php |
Integer indicating whether this string is customized. |
TranslationString::setCustomized |
function |
core/modules/locale/src/TranslationString.php |
Sets the string as customized / not customized. |
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED |
constant |
core/modules/locale/locale.module |
UI option for override of existing translations. |
LocaleTranslationUiTest::testUICustomizedStrings |
function |
core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php |
Tests that only changed strings are saved customized when edited. |
LocaleConfigSubscriber::saveCustomizedTranslation |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Saves a translation string and marks it as customized. |
LocaleUpdateTest::testUpdateImportModeNonCustomized |
function |
core/modules/locale/tests/src/Functional/LocaleUpdateTest.php |
Tests translation import and only overwrite non-customized translations. |
CacheFactoryTest::testCacheFactoryWithCustomizedDefaultBackend |
function |
core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php |
Tests that the cache factory falls back to customized default service. |
ModerationStateFieldItemListTest::testWorkflowCustomizedInitialState |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Test customizing the default moderation state. |