LanguageConfigFactoryOverride::getCacheableMetadata

public LanguageConfigFactoryOverride::getCacheableMetadata($name) Gets the cacheability metadata associated with the config factory override. Parameters string $name: The name of the configuration override to get metadata for. Return value \Drupal\Core\Cache\CacheableMetadata A cacheable metadata object. Overrides ConfigFactoryOverrideInterface::getCacheableMetadata File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 224 Class LanguageConfigFactoryOverride Provi

LanguageConfigFactoryOverride::createConfigObject

public LanguageConfigFactoryOverride::createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) Creates a configuration object for use during install and synchronization. If the overrider stores its overrides in configuration collections then it can have its own implementation of \Drupal\Core\Config\StorableConfigBase. Configuration overriders can link themselves to a configuration collection by listening to the \Drupal\Core\Config\ConfigEvents::COLLECTION_INFO event and add

LanguageConfigFactoryOverride::addCollections

public LanguageConfigFactoryOverride::addCollections(ConfigCollectionInfo $collection_info) Reacts to the ConfigEvents::COLLECTION_INFO event. Parameters \Drupal\Core\Config\ConfigCollectionInfo $collection_info: The configuration collection info event. Overrides ConfigFactoryOverrideBase::addCollections File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 169 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespac

LanguageConfigFactoryOverride::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 46 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespace Drupal\language\Config Code protected $typedConfigManager;

LanguageConfigFactoryOverride::$storages

An array of configuration storages keyed by langcode. Type: \Drupal\Core\Config\StorageInterface[] File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 39 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespace Drupal\language\Config Code protected $storages;

LanguageConfigFactoryOverride::$language

The language object used to override configuration data. Type: \Drupal\Core\Language\LanguageInterface File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 60 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespace Drupal\language\Config Code protected $language;

LanguageConfigFactoryOverride::$eventDispatcher

An event dispatcher instance to use for configuration events. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 53 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespace Drupal\language\Config Code protected $eventDispatcher;

LanguageConfigFactoryOverride::$baseStorage

The configuration storage. Do not access this directly. Should be accessed through self::getStorage() so that the cache of storages per langcode is used. Type: \Drupal\Core\Config\StorageInterface File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 32 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespace Drupal\language\Config Code protected $baseStorage;

LanguageConfigFactoryOverride

Provides language overrides for the configuration factory. Hierarchy class \Drupal\Core\Config\ConfigFactoryOverrideBase implements EventSubscriberInterfaceclass \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 Descripti

LanguageConfigCollectionNameTrait::getLangcodeFromCollectionName

protected LanguageConfigCollectionNameTrait::getLangcodeFromCollectionName($collection) Converts a configuration collection name to a language code. Parameters string $collection: The configuration collection name. Return value string The language code of the collection. Throws \InvalidArgumentException Exception thrown if the provided collection name is not in the format "language.LANGCODE". See also self::createConfigCollectionName() File core/modules/language/src/Config/LanguageConfigCol