ConfigFactory::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/lib/Drupal/Core/Config/ConfigFactory.php, line 53 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $typedConfigManager;

ConfigFactory::$storage

A storage instance for reading and writing configuration data. Type: \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/Config/ConfigFactory.php, line 32 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $storage;

ConfigFactory::$eventDispatcher

An event dispatcher instance to use for configuration events. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/lib/Drupal/Core/Config/ConfigFactory.php, line 39 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $eventDispatcher;

ConfigFactory::$configFactoryOverrides

An array of config factory override objects ordered by priority. Type: \Drupal\Core\Config\ConfigFactoryOverrideInterface[] File core/lib/Drupal/Core/Config/ConfigFactory.php, line 60 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $configFactoryOverrides = array();

ConfigFactory::$cache

Cached configuration objects. Type: \Drupal\Core\Config\Config[] File core/lib/Drupal/Core/Config/ConfigFactory.php, line 46 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $cache = array();

ConfigFactory

Defines the configuration object factory. The configuration object factory instantiates a Config object for each configuration object name that is accessed and returns it to callers. Each configuration object gets a storage object injected, which is used for reading and writing the configuration data. Hierarchy class \Drupal\Core\Config\ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface See also \Drupal\Core\Config\Config \Drupal\Core\Config\StorageInterface Related t

ConfigException

A base exception thrown in any configuration system operations. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeException File core/lib/Drupal/Core/Config/ConfigException.php, line 8 Namespace Drupal\Core\Config Members

ConfigEvents::SAVE

Name of the event fired when saving a configuration object. This event allows modules to perform an action whenever a configuration object is saved. The event listener method receives a \Drupal\Core\Config\ConfigCrudEvent instance. See hook_update_N() documentation for safe configuration API usage and restrictions as this event will be fired when configuration is saved by hook_update_N(). See also \Drupal\Core\Config\ConfigCrudEvent \Drupal\Core\Config\Config::save() \Drupal\Core\Config\Config

ConfigEvents::RENAME

Name of the event fired when renaming a configuration object. This event allows modules to perform an action whenever a configuration object's name is changed. The event listener method receives a \Drupal\Core\Config\ConfigRenameEvent instance. See hook_update_N() documentation for safe configuration API usage and restrictions as this event will be fired when configuration is renamed by hook_update_N(). See also \Drupal\Core\Config\ConfigRenameEvent \Drupal\Core\Config\ConfigFactoryInterface::

ConfigEvents::IMPORT_VALIDATE

Name of the event fired when validating imported configuration. This event allows modules to perform additional validation operations when configuration is being imported. The event listener method receives a \Drupal\Core\Config\ConfigImporterEvent instance. See also \Drupal\Core\Config\ConfigImporterEvent \Drupal\Core\Config\ConfigImporter::validate(). \Drupal\Core\EventSubscriber\ConfigImportSubscriber::onConfigImporterValidate(). Related topics Events Overview of event dispatch and subscrib