The ConfigManager provides helper functions for the configuration system.
Name | Modifiers | Type | Description |
---|---|---|---|
ConfigManager::$activeStorage | protected | property | The active configuration storage. |
ConfigManager::$configCollectionInfo | protected | property | The configuration collection info. |
ConfigManager::$configFactory | protected | property | The configuration factory. |
ConfigManager::$entityManager | protected | property | The entity manager. |
ConfigManager::$eventDispatcher | protected | property | The event dispatcher. |
ConfigManager::$storages | protected | property | The configuration storages keyed by collection name. |
ConfigManager::$typedConfigManager | protected | property | The typed config manager. |
ConfigManager::callOnDependencyRemoval | protected | function | Calls an entity's onDependencyRemoval() method. |
ConfigManager::createSnapshot | public | function | Creates a configuration snapshot following a successful import. Overrides ConfigManagerInterface::createSnapshot |
ConfigManager::diff | public | function | Creates a Diff object using the config data from the two storages. Overrides ConfigManagerInterface::diff |
ConfigManager::findConfigEntityDependents | public | function | Finds config entities that are dependent on extensions or entities. Overrides ConfigManagerInterface::findConfigEntityDependents |
ConfigManager::findConfigEntityDependentsAsEntities | public | function | Finds config entities that are dependent on extensions or entities. Overrides ConfigManagerInterface::findConfigEntityDependentsAsEntities |
ConfigManager::findMissingContentDependencies | public | function | Finds missing content dependencies declared in configuration entities. Overrides ConfigManagerInterface::findMissingContentDependencies |
ConfigManager::getConfigCollectionInfo | public | function | Gets available collection information using the event system. Overrides ConfigManagerInterface::getConfigCollectionInfo |
ConfigManager::getConfigDependencyManager | public | function | Creates and populates a ConfigDependencyManager object. Overrides ConfigManagerInterface::getConfigDependencyManager |
ConfigManager::getConfigEntitiesToChangeOnDependencyRemoval | public | function | Lists which config entities to update and delete on removal of a dependency. Overrides ConfigManagerInterface::getConfigEntitiesToChangeOnDependencyRemoval |
ConfigManager::getConfigFactory | public | function | Gets the config factory. Overrides ConfigManagerInterface::getConfigFactory |
ConfigManager::getEntityManager | public | function | Gets the entity manager. Overrides ConfigManagerInterface::getEntityManager |
ConfigManager::getEntityTypeIdByName | public | function | Returns the entity type of a configuration object. Overrides ConfigManagerInterface::getEntityTypeIdByName |
ConfigManager::loadConfigEntityByName | public | function | Loads a configuration entity using the configuration name. Overrides ConfigManagerInterface::loadConfigEntityByName |
ConfigManager::uninstall | public | function | Uninstalls the configuration of a given extension. Overrides ConfigManagerInterface::uninstall |
ConfigManager::__construct | public | function | Creates ConfigManager objects. |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigManager.php/class/ConfigManager/8.1.x