Provides language overrides for the configuration factory.
Hierarchy
- class \Drupal\Core\Config\ConfigFactoryOverrideBase implements EventSubscriberInterface
- class \Drupal\language\Config\LanguageConfigFactoryOverride implements LanguageConfigFactoryOverrideInterface, EventSubscriberInterface uses LanguageConfigCollectionNameTrait
File
- core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 20
Namespace
Drupal\language\Config
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ConfigFactoryOverrideBase::filterNestedArray | protected | function | Filters data in nested arrays. |
ConfigFactoryOverrideBase::filterOverride | protected | function | Filters data in the override based on what is currently in configuration. |
ConfigFactoryOverrideBase::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
LanguageConfigCollectionNameTrait::createConfigCollectionName | protected | function | Creates a configuration collection name based on a language code. |
LanguageConfigCollectionNameTrait::getLangcodeFromCollectionName | protected | function | Converts a configuration collection name to a language code. |
LanguageConfigFactoryOverride::$baseStorage | protected | property | The configuration storage. |
LanguageConfigFactoryOverride::$eventDispatcher | protected | property | An event dispatcher instance to use for configuration events. |
LanguageConfigFactoryOverride::$language | protected | property | The language object used to override configuration data. |
LanguageConfigFactoryOverride::$storages | protected | property | An array of configuration storages keyed by langcode. |
LanguageConfigFactoryOverride::$typedConfigManager | protected | property | The typed config manager. |
LanguageConfigFactoryOverride::addCollections | public | function | Reacts to the ConfigEvents::COLLECTION_INFO event. Overrides ConfigFactoryOverrideBase::addCollections |
LanguageConfigFactoryOverride::createConfigObject | public | function | Creates a configuration object for use during install and synchronization. Overrides ConfigFactoryOverrideInterface::createConfigObject |
LanguageConfigFactoryOverride::getCacheableMetadata | public | function | Gets the cacheability metadata associated with the config factory override. Overrides ConfigFactoryOverrideInterface::getCacheableMetadata |
LanguageConfigFactoryOverride::getCacheSuffix | public | function | The string to append to the configuration static cache name. Overrides ConfigFactoryOverrideInterface::getCacheSuffix |
LanguageConfigFactoryOverride::getLanguage | public | function | Gets the language object used to override configuration data. Overrides LanguageConfigFactoryOverrideInterface::getLanguage |
LanguageConfigFactoryOverride::getOverride | public | function | Get language override for given language and configuration name. Overrides LanguageConfigFactoryOverrideInterface::getOverride |
LanguageConfigFactoryOverride::getStorage | public | function | Returns the storage instance for a particular langcode. Overrides LanguageConfigFactoryOverrideInterface::getStorage |
LanguageConfigFactoryOverride::installLanguageOverrides | public | function | Installs available language configuration overrides for a given langcode. Overrides LanguageConfigFactoryOverrideInterface::installLanguageOverrides |
LanguageConfigFactoryOverride::loadOverrides | public | function | Returns config overrides. Overrides ConfigFactoryOverrideInterface::loadOverrides |
LanguageConfigFactoryOverride::onConfigDelete | public | function | Actions to be performed to configuration override on configuration delete. Overrides ConfigFactoryOverrideBase::onConfigDelete |
LanguageConfigFactoryOverride::onConfigRename | public | function | Actions to be performed to configuration override on configuration rename. Overrides ConfigFactoryOverrideBase::onConfigRename |
LanguageConfigFactoryOverride::onConfigSave | public | function | Actions to be performed to configuration override on configuration save. Overrides ConfigFactoryOverrideBase::onConfigSave |
LanguageConfigFactoryOverride::setLanguage | public | function | Sets the language to be used in configuration overrides. Overrides LanguageConfigFactoryOverrideInterface::setLanguage |
LanguageConfigFactoryOverride::setLanguageFromDefault | public | function | Sets the language to be used in configuration overrides from the default. Overrides LanguageConfigFactoryOverrideInterface::setLanguageFromDefault |
LanguageConfigFactoryOverride::__construct | public | function | Constructs the LanguageConfigFactoryOverride object. |
Please login to continue.