StorageReplaceDataWrapper

Wraps a configuration storage to allow replacing specific configuration data.

Hierarchy

File

core/modules/config/src/StorageReplaceDataWrapper.php, line 11

Namespace

Drupal\config

Members

Name Modifiers Type Description
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function
DependencySerializationTrait::__wakeup public function
StorageInterface::DEFAULT_COLLECTION constant The default collection name.
StorageReplaceDataWrapper::$collection protected property The storage collection.
StorageReplaceDataWrapper::$replacementData protected property The configuration replacement data, keyed by configuration object name.
StorageReplaceDataWrapper::$storage protected property The configuration storage to be wrapped.
StorageReplaceDataWrapper::createCollection public function Creates a collection on the storage. Overrides StorageInterface::createCollection
StorageReplaceDataWrapper::decode public function Decodes configuration data from the storage-specific format. Overrides StorageInterface::decode
StorageReplaceDataWrapper::delete public function Deletes a configuration object from the storage. Overrides StorageInterface::delete
StorageReplaceDataWrapper::deleteAll public function Deletes configuration objects whose names start with a given prefix. Overrides StorageInterface::deleteAll
StorageReplaceDataWrapper::encode public function Encodes configuration data into the storage-specific format. Overrides StorageInterface::encode
StorageReplaceDataWrapper::exists public function Returns whether a configuration object exists. Overrides StorageInterface::exists
StorageReplaceDataWrapper::getAllCollectionNames public function Gets the existing collections. Overrides StorageInterface::getAllCollectionNames
StorageReplaceDataWrapper::getCollectionName public function Gets the name of the current collection the storage is using. Overrides StorageInterface::getCollectionName
StorageReplaceDataWrapper::listAll public function Gets configuration object names starting with a given prefix. Overrides StorageInterface::listAll
StorageReplaceDataWrapper::read public function Reads configuration data from the storage. Overrides StorageInterface::read
StorageReplaceDataWrapper::readMultiple public function Reads configuration data from the storage. Overrides StorageInterface::readMultiple
StorageReplaceDataWrapper::rename public function Renames a configuration object in the storage. Overrides StorageInterface::rename
StorageReplaceDataWrapper::replaceData public function Replaces the configuration object data with the supplied data.
StorageReplaceDataWrapper::write public function Writes configuration data to the storage. Overrides StorageInterface::write
StorageReplaceDataWrapper::__construct public function Constructs a new StorageReplaceDataWrapper.
doc_Drupal
2016-10-29 09:44:46
Comments
Leave a Comment

Please login to continue.