LocaleConfigSubscriber::$languageManager |
property |
core/modules/locale/src/LocaleConfigSubscriber.php |
The language manager. |
LocaleConfigSubscriber::$localeConfigManager |
property |
core/modules/locale/src/LocaleConfigSubscriber.php |
The typed configuration manager. |
LocaleConfigSubscriber::getSubscribedEvents |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
|
LocaleConfigSubscriber::onConfigSave |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Updates the locale strings when a translated active configuration is saved. |
LocaleConfigSubscriber::onOverrideChange |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Updates the locale strings when a configuration override is saved/deleted. |
LocaleConfigSubscriber::processTranslatableData |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Process the translatable data array with a given language. |
LocaleConfigSubscriber::resetExistingTranslations |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Reset existing locale translations to their source values. |
LocaleConfigSubscriber::saveCustomizedTranslation |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Saves a translation string and marks it as customized. |
LocaleConfigSubscriber::updateLocaleStorage |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Update locale storage based on configuration translations. |
LocaleConfigSubscriber::__construct |
function |
core/modules/locale/src/LocaleConfigSubscriber.php |
Constructs a LocaleConfigSubscriber. |
LocaleConfigSubscriberForeignTest |
class |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests default configuration handling with a foreign default language. |
LocaleConfigSubscriberForeignTest.php |
file |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
|
LocaleConfigSubscriberForeignTest::register |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Registers test-specific services. |
LocaleConfigSubscriberForeignTest::saveLanguageActive |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Saves a language override. |
LocaleConfigSubscriberForeignTest::setUpLanguages |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Sets up languages needed for this test. |
LocaleConfigSubscriberForeignTest::setUpLocale |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Sets up the locale storage strings to be in line with configuration. |
LocaleConfigSubscriberForeignTest::testCreateActiveTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests creating translations of shipped configuration. |
LocaleConfigSubscriberForeignTest::testDefaultConfigLanguage |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests that the language of default configuration was updated. |
LocaleConfigSubscriberForeignTest::testDeleteActiveTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests deleting translations of shipped configuration. |
LocaleConfigSubscriberForeignTest::testDeleteTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests deleting a translation override. |
LocaleConfigSubscriberForeignTest::testEnglish |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests that adding English creates a translation override. |
LocaleConfigSubscriberForeignTest::testLocaleCreateActiveTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests importing community translations of shipped configuration. |
LocaleConfigSubscriberForeignTest::testLocaleDeleteActiveTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests deleting community translations of shipped configuration. |
LocaleConfigSubscriberForeignTest::testLocaleUpdateActiveTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests updating community translations of shipped configuration. |
LocaleConfigSubscriberForeignTest::testUpdateActiveTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php |
Tests updating translations of shipped configuration. |
LocaleConfigSubscriberTest |
class |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Tests that shipped configuration translations are updated correctly. |
LocaleConfigSubscriberTest.php |
file |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
|
LocaleConfigSubscriberTest::$configFactory |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
The configuration factory used in this test. |
LocaleConfigSubscriberTest::$languageManager |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
The configurable language manager used in this test. |
LocaleConfigSubscriberTest::$localeConfigManager |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
The locale configuration manager used in this test. |
LocaleConfigSubscriberTest::$modules |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Modules to enable. |
LocaleConfigSubscriberTest::$stringStorage |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
The string storage used in this test. |
LocaleConfigSubscriberTest::assertActiveConfig |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Ensures configuration was saved correctly. |
LocaleConfigSubscriberTest::assertConfigOverride |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Ensures configuration was saved correctly. |
LocaleConfigSubscriberTest::assertNoConfigOverride |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Ensures configuration override is not present anymore. |
LocaleConfigSubscriberTest::assertNoTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Ensures no translation exists. |
LocaleConfigSubscriberTest::assertTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Ensures a translation exists and is marked as customized. |
LocaleConfigSubscriberTest::deleteLanguageOverride |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Deletes a language override. |
LocaleConfigSubscriberTest::deleteLocaleTranslationData |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Deletes translation data from locale module. |
LocaleConfigSubscriberTest::saveLanguageOverride |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Saves a language override. |
LocaleConfigSubscriberTest::saveLocaleTranslationData |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Saves translation data from locale module. |
LocaleConfigSubscriberTest::setUp |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
|
LocaleConfigSubscriberTest::setUpDefaultLanguage |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Sets up default language for this test. |
LocaleConfigSubscriberTest::setUpLanguages |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Sets up languages needed for this test. |
LocaleConfigSubscriberTest::setUpLocale |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Sets up the locale storage strings to be in line with configuration. |
LocaleConfigSubscriberTest::setUpNoTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Sets up a configuration string without a translation. |
LocaleConfigSubscriberTest::setUpTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Sets up a configuration string with a translation. |
LocaleConfigSubscriberTest::testCreateTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Tests creating translations of shipped configuration. |
LocaleConfigSubscriberTest::testCreateTranslationMultiValue |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Tests creating translations configuration with multi value settings. |
LocaleConfigSubscriberTest::testDeleteTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php |
Tests deleting translations of shipped configuration. |