class Config

Defines the default configuration object.

Hierarchy

  • class \Drupal\Core\Config\Config

Expanded class hierarchy of Config

17 files declare their use of Config

File

drupal/core/lib/Drupal/Core/Config/Config.php, line 17
Definition of Drupal\Core\Config\Config.

Namespace

Drupal\Core\Config
View source

Members

Namesort descending Modifiers Type Description Overrides
Config::$context protected property The configuration context used for this configuration object.
Config::$data protected property The data of the configuration object.
Config::$isLoaded protected property Whether the config object has already been loaded.
Config::$isNew protected property Whether the configuration object is new or has been saved to the storage.
Config::$name protected property The name of the configuration object.
Config::$overriddenData protected property The current runtime data ($data + $overrides from Config Context).
Config::$storage protected property The storage used to load and save this configuration object.
Config::castValue public function Casts a saved value to a string.
Config::clear public function Unsets value in this config object.
Config::delete public function Deletes the configuration object.
Config::get public function Gets data from this config object.
Config::getName public function Returns the name of this configuration object.
Config::getStorage public function Retrieve the storage used to load and save this configuration object.
Config::init public function Initializes a configuration object.
Config::isNew public function Returns whether this configuration object is new.
Config::load public function Loads configuration data into this object.
Config::MAX_NAME_LENGTH constant The maximum length of a configuration object name.
Config::merge public function Merges data into a configuration object.
Config::notify protected function Dispatch a config event.
Config::replaceData protected function Replaces the data of this configuration object.
Config::resetOverriddenData protected function Resets the current data, so overrides are re-applied.
Config::save public function Saves the configuration object.
Config::set public function Sets value in this config object.
Config::setData public function Replaces the data of this configuration object.
Config::setName public function Sets the name of this configuration object.
Config::setOverriddenData protected function Sets the current data for this configuration object.
Config::setOverride public function Sets overridden data for this configuration object.
Config::validateName public static function Validates the configuration object name.
Config::__construct public function Constructs a configuration object.