StorageInterface

Defines an interface for configuration storage.

Classes implementing this interface allow reading and writing configuration data from and to the storage.

Hierarchy

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 11

Namespace

Drupal\Core\Config

Members

Name Modifiers Type Description
StorageInterface::createCollection public function Creates a collection on the storage.
StorageInterface::decode public function Decodes configuration data from the storage-specific format.
StorageInterface::DEFAULT_COLLECTION constant The default collection name.
StorageInterface::delete public function Deletes a configuration object from the storage.
StorageInterface::deleteAll public function Deletes configuration objects whose names start with a given prefix.
StorageInterface::encode public function Encodes configuration data into the storage-specific format.
StorageInterface::exists public function Returns whether a configuration object exists.
StorageInterface::getAllCollectionNames public function Gets the existing collections.
StorageInterface::getCollectionName public function Gets the name of the current collection the storage is using.
StorageInterface::listAll public function Gets configuration object names starting with a given prefix.
StorageInterface::read public function Reads configuration data from the storage.
StorageInterface::readMultiple public function Reads configuration data from the storage.
StorageInterface::rename public function Renames a configuration object in the storage.
StorageInterface::write public function Writes configuration data to the storage.
doc_Drupal
2016-10-29 09:44:43
Comments
Leave a Comment

Please login to continue.