StorageInterface::getCollectionName

public StorageInterface::getCollectionName() Gets the name of the current collection the storage is using. Return value string The current collection name. File core/lib/Drupal/Core/Config/StorageInterface.php, line 199 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function getCollectionName();

StorageInterface

Defines an interface for configuration storage. Classes implementing this interface allow reading and writing configuration data from and to the storage. Hierarchy interface \Drupal\Core\Config\StorageInterface 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 functi

StorageInterface::decode

public StorageInterface::decode($raw) Decodes configuration data from the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters string $raw: The raw configuration data string to decode. Return value array The decoded configuration data as an associative array. File core/lib/Drupal/Core/Config/StorageInterface.php, line 119 Class StorageInterface Defines an interface for configuration stor

StorageInterface::createCollection

public StorageInterface::createCollection($collection) Creates a collection on the storage. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection name identifies the current collection used. Implementations of this method must provide a new instance to avoid side effects caused by the fact that Config objects have their storage injected. Parameters string $collection: The collection name. Valid collection names conform to the foll

StorageException

An exception thrown in case of storage operation errors. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\StorageException File core/lib/Drupal/Core/Config/StorageException.php, line 8 Namespace Drupal\Core\Config Members

StorageComparerInterface::validateSiteUuid

public StorageComparerInterface::validateSiteUuid() Validates that the system.site::uuid in the source and target match. Return value bool TRUE if identical, FALSE if not. File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 83 Class StorageComparerInterface Defines an interface for comparison of configuration storage objects. Namespace Drupal\Core\Config Code public function validateSiteUuid();

StorageComparerInterface::getTargetStorage

public StorageComparerInterface::getTargetStorage($collection = StorageInterface::DEFAULT_COLLECTION) Gets the configuration target storage. Parameters string $collection: (optional) The storage collection to use. Defaults to the default collection. Return value \Drupal\Core\Config\StorageInterface Storage object used to write configuration. File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 32 Class StorageComparerInterface Defines an interface for comparison of configu

StorageComparerInterface::reset

public StorageComparerInterface::reset() Recalculates the differences. Return value \Drupal\Core\Config\StorageComparerInterface An object which implements the StorageComparerInterface. File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 63 Class StorageComparerInterface Defines an interface for comparison of configuration storage objects. Namespace Drupal\Core\Config Code public function reset();

StorageComparerInterface::moveRenameToUpdate

public StorageComparerInterface::moveRenameToUpdate($rename, $collection = StorageInterface::DEFAULT_COLLECTION) Moves a rename operation to an update. Parameters string $rename: The rename name, as provided by ConfigImporter::createRenameName(). string $collection: (optional) The collection where the configuration is stored. Defaults to the default collection. See also \Drupal\Core\Config\ConfigImporter::createRenameName() File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 9

StorageComparerInterface::hasChanges

public StorageComparerInterface::hasChanges() Checks if there are any operations with changes to process. Until the changelist has been calculated this will always be FALSE. Return value bool TRUE if there are changes to process and FALSE if not. See also \Drupal\Core\Config\StorageComparerInterface::createChangelist() File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 75 Class StorageComparerInterface Defines an interface for comparison of configuration storage objects.