Defines the file storage controller.

Hierarchy

Expanded class hierarchy of ConfigFileStorage

File

drivers/config_file/config_file_storage.inc, line 6

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
ConfigFileStorage::$directory protected property The filesystem path for configuration objects.
ConfigFileStorage::$immutable protected property
ConfigFileStorage::$storage_class static property
ConfigFileStorage::__construct public function Constructs a new FileStorage controller.
ConfigFileStorage::decode public function Decodes configuration data from the storage-specific format. Overrides ConfigStorageInterface::decode
ConfigFileStorage::delete public function Deletes a configuration object from the storage. Overrides ConfigStorageInterface::delete
ConfigFileStorage::deleteAll public function Deletes configuration objects whose names start with a given prefix. Overrides ConfigStorageInterface::deleteAll
ConfigFileStorage::encode public function Encodes configuration data into the storage-specific format. Overrides ConfigStorageInterface::encode
ConfigFileStorage::exists public function Returns whether a configuration object exists. Overrides ConfigStorageInterface::exists
ConfigFileStorage::exportArchive public function Export an archive of configuration files from the config storage managed by this object. Overrides ConfigStorageInterface::exportArchive
ConfigFileStorage::getFilePath public function Returns the path to the configuration file.
ConfigFileStorage::getModifiedTime public function Returns a timestamp indicating the last time a configuration was modified. Overrides ConfigStorageInterface::getModifiedTime
ConfigFileStorage::importArchive public function Import an archive of configuration files into the config storage managed by this object. Overrides ConfigStorageInterface::importArchive
ConfigFileStorage::initializeStorage public function Create a configuration directory, if it does not already exist, and ensure it is writable by the site. Additionally, protect it with a .htaccess file. Overrides ConfigStorageInterface::initializeStorage
ConfigFileStorage::isImmutable public function Returns whether data in this object can be changed. Overrides ConfigStorageInterface::isImmutable
ConfigFileStorage::isInitialized public function Check that the storage managed by this object is present and functional. Overrides ConfigStorageInterface::isInitialized
ConfigFileStorage::listAll public function Gets configuration object names starting with a given prefix. Overrides ConfigStorageInterface::listAll
ConfigFileStorage::read public function Reads configuration data from the storage. Overrides ConfigStorageInterface::read
ConfigFileStorage::readMultiple public function Reads configuration data from the storage. Overrides ConfigStorageInterface::readMultiple
ConfigFileStorage::rename public function Renames a configuration object in the storage. Overrides ConfigStorageInterface::rename
ConfigFileStorage::urlPrefix public static function Return the storage protocol for the settings string. E.g., for file-based config that parses file://path/to/config, this function returns 'file'. Overrides ConfigStorageInterface::urlPrefix
ConfigFileStorage::write public function Writes configuration data to the storage. Overrides ConfigStorageInterface::write