Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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::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::getComponentNames function core/modules/locale/src/LocaleConfigManager.php Gets configuration names associated with components.
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.
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.

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