This is the API for configuration storage.

File

core/includes/config.inc

Functions

Namesort ascending Description
config_uninstall_config Uninstall all the configuration provided by a module.
config_set_multiple A shortcut function to set and save multiple values in a config file.
config_set A shortcut function to set and save a single value in a config file.
config_load_multiple Loads configuration objects by name.
config_is_overridden A shortcut function to check if a value is overridden within a config file.
config_install_default_config Moves the default config supplied by a module to the live config directory.
config_get_translated A shortcut function to load and retrieve a single translated value from a config file.
config_get_names_with_prefix Retrieves all configurations starting with a particular prefix.
config_get_config_storage Get the storage object for the specified configuration type
config_get_config_directory Returns the path of a configuration directory.
config_get A shortcut function to load and retrieve a single value from a config file.
config_clear A shortcut function to delete a single value from a config file.
config Retrieves a configuration object.

Classes

Namesort ascending Description
ConfigValidateException Exception thrown when a config object has a validation error before saving.
ConfigStorageReadException Exception thrown when attempting to read a config file fails.
ConfigStorageException Exception thrown by classes implementing ConfigStorageInterface.
ConfigNameException Exception thrown when a config object name is invalid.
ConfigFileStorage Defines the file storage controller.
ConfigException A base exception thrown in any configuration system operations.
Config Defines the default configuration object.

Interfaces

Namesort ascending Description
ConfigStorageInterface Defines an interface for configuration storage controllers.