| LocaleConfigManager.php |
file |
core/modules/locale/src/LocaleConfigManager.php |
|
| LocaleConfigManager::$configFactory |
property |
core/modules/locale/src/LocaleConfigManager.php |
The configuration factory. |
| LocaleConfigManager::$configManager |
property |
core/modules/locale/src/LocaleConfigManager.php |
The configuration manager. |
| LocaleConfigManager::$configStorage |
property |
core/modules/locale/src/LocaleConfigManager.php |
The storage instance for reading configuration data. |
| LocaleConfigManager::$defaultConfigStorage |
property |
core/modules/locale/src/LocaleConfigManager.php |
The locale default config storage instance. |
| LocaleConfigManager::$isUpdatingFromLocale |
property |
core/modules/locale/src/LocaleConfigManager.php |
Whether or not configuration translations are being updated from locale. |
| LocaleConfigManager::$languageManager |
property |
core/modules/locale/src/LocaleConfigManager.php |
The language manager. |
| LocaleConfigManager::$localeStorage |
property |
core/modules/locale/src/LocaleConfigManager.php |
The string storage for reading and writing translations. |
| LocaleConfigManager::$translations |
property |
core/modules/locale/src/LocaleConfigManager.php |
Array with preloaded string translations. |
| LocaleConfigManager::$typedConfigManager |
property |
core/modules/locale/src/LocaleConfigManager.php |
The typed config manager. |
| LocaleConfigManager::deleteLanguageTranslations |
function |
core/modules/locale/src/LocaleConfigManager.php |
Deletes configuration for language. |
| LocaleConfigManager::deleteTranslationOverride |
function |
core/modules/locale/src/LocaleConfigManager.php |
Deletes translated configuration data. |
| LocaleConfigManager::filterOverride |
function |
core/modules/locale/src/LocaleConfigManager.php |
Filters override data based on default translatable items. |
| LocaleConfigManager::getActiveConfigLangcode |
function |
core/modules/locale/src/LocaleConfigManager.php |
Returns the current language code for this active configuration. |
| LocaleConfigManager::getComponentNames |
function |
core/modules/locale/src/LocaleConfigManager.php |
Gets configuration names associated with components. |
| LocaleConfigManager::getDefaultConfigLangcode |
function |
core/modules/locale/src/LocaleConfigManager.php |
Returns the original language code for this shipped configuration. |
| LocaleConfigManager::getStringNames |
function |
core/modules/locale/src/LocaleConfigManager.php |
Gets configuration names associated with strings. |
| LocaleConfigManager::getStringTranslation |
function |
core/modules/locale/src/LocaleConfigManager.php |
Get the translation object for the given source/context and language. |
| LocaleConfigManager::getTranslatableData |
function |
core/modules/locale/src/LocaleConfigManager.php |
Gets translatable configuration data for a typed configuration element. |
| LocaleConfigManager::getTranslatableDefaultConfig |
function |
core/modules/locale/src/LocaleConfigManager.php |
Gets array of translated strings for Locale translatable configuration. |
| LocaleConfigManager::hasTranslation |
function |
core/modules/locale/src/LocaleConfigManager.php |
Checks whether a language has configuration translation. |
| LocaleConfigManager::isSupported |
function |
core/modules/locale/src/LocaleConfigManager.php |
Whether the given configuration is supported for interface translation. |
| LocaleConfigManager::isUpdatingTranslationsFromLocale |
function |
core/modules/locale/src/LocaleConfigManager.php |
Indicates whether configuration translations are being updated from locale. |
| LocaleConfigManager::processTranslatableData |
function |
core/modules/locale/src/LocaleConfigManager.php |
Process the translatable data array with a given language. |
| LocaleConfigManager::reset |
function |
core/modules/locale/src/LocaleConfigManager.php |
Reset static cache of configuration string translations. |
| LocaleConfigManager::saveTranslationActive |
function |
core/modules/locale/src/LocaleConfigManager.php |
Saves translated configuration data. |
| LocaleConfigManager::saveTranslationOverride |
function |
core/modules/locale/src/LocaleConfigManager.php |
Saves translated configuration override. |
| LocaleConfigManager::translateString |
function |
core/modules/locale/src/LocaleConfigManager.php |
Translates string using the localization system. |
| LocaleConfigManager::updateConfigTranslations |
function |
core/modules/locale/src/LocaleConfigManager.php |
Updates all configuration translations for the names / languages provided. |
| LocaleConfigManager::updateDefaultConfigLangcodes |
function |
core/modules/locale/src/LocaleConfigManager.php |
Updates default configuration when new modules or themes are installed. |
| LocaleConfigManager::__construct |
function |
core/modules/locale/src/LocaleConfigManager.php |
Creates a new typed configuration manager. |
| LocaleConfigManagerTest |
class |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
Tests that the locale config manager operates correctly. |
| LocaleConfigManagerTest.php |
file |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
|
| LocaleConfigManagerTest::$modules |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
A list of modules to install for this test. |
| LocaleConfigManagerTest::$strictConfigSchema |
property |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
This test creates simple config on the fly breaking schema checking. |
| LocaleConfigManagerTest::testGetDefaultConfigLangcode |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
Tests getDefaultConfigLangcode(). |
| LocaleConfigManagerTest::testGetStringTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
Tests getStringTranslation(). |
| LocaleConfigManagerTest::testHasTranslation |
function |
core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php |
Tests hasTranslation(). |
| LocaleConfigSubscriber |
class |
core/modules/locale/src/LocaleConfigSubscriber.php |
Updates strings translation when configuration translations change. |
| LocaleConfigSubscriber.php |
file |
core/modules/locale/src/LocaleConfigSubscriber.php |
|
| LocaleConfigSubscriber::$configFactory |
property |
core/modules/locale/src/LocaleConfigSubscriber.php |
The configuration factory. |
| 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. |