class StorageComparer

Defines a config storage comparer.

Hierarchy

File

core/lib/Drupal/Core/Config/StorageComparer.php, line 12

Namespace

Drupal\Core\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
StorageComparer::$changelist protected property List of changes to between the source storage and the target storage.
StorageComparer::$configManager protected property The configuration manager.
StorageComparer::$sourceCacheStorage protected property A memory cache backend to statically cache source configuration data.
StorageComparer::$sourceNames protected property Sorted list of all the configuration object names in the source storage.
StorageComparer::$sourceStorage protected property The source storage used to discover configuration changes.
StorageComparer::$sourceStorages protected property The source storages keyed by collection.
StorageComparer::$targetCacheStorage protected property A memory cache backend to statically cache target configuration data.
StorageComparer::$targetNames protected property Sorted list of all the configuration object names in the target storage.
StorageComparer::$targetStorage protected property The target storage used to write configuration changes.
StorageComparer::$targetStorages protected property The target storages keyed by collection.
StorageComparer::addChangeList protected function Adds changes to the changelist.
StorageComparer::addChangelistCreate protected function Creates the create changelist.
StorageComparer::addChangelistDelete protected function Creates the delete changelist.
StorageComparer::addChangelistRename protected function Creates the rename changelist.
StorageComparer::addChangelistUpdate protected function Creates the update changelist.
StorageComparer::createChangelist public function
StorageComparer::createRenameName protected function Creates a rename name from the old and new names for the object.
StorageComparer::extractRenameNames public function Extracts old and new configuration names from a configuration change name. Overrides StorageComparerInterface::extractRenameNames
StorageComparer::getAllCollectionNames public function Gets the existing collections from both the target and source storage. Overrides StorageComparerInterface::getAllCollectionNames
StorageComparer::getAndSortConfigData protected function Gets and sorts configuration data from the source and target storages.
StorageComparer::getChangelist public function Gets the list of differences to import. Overrides StorageComparerInterface::getChangelist
StorageComparer::getEmptyChangelist public function Gets an empty changelist. Overrides StorageComparerInterface::getEmptyChangelist
StorageComparer::getSourceStorage public function Gets the configuration source storage. Overrides StorageComparerInterface::getSourceStorage
StorageComparer::getTargetStorage public function Gets the configuration target storage. Overrides StorageComparerInterface::getTargetStorage
StorageComparer::hasChanges public function Checks if there are any operations with changes to process. Overrides StorageComparerInterface::hasChanges
StorageComparer::moveRenameToUpdate public function Moves a rename operation to an update. Overrides StorageComparerInterface::moveRenameToUpdate
StorageComparer::removeFromChangelist protected function Removes the entry from the given operation changelist for the given name.
StorageComparer::reset public function Recalculates the differences. Overrides StorageComparerInterface::reset
StorageComparer::validateSiteUuid public function Validates that the system.site::uuid in the source and target match. Overrides StorageComparerInterface::validateSiteUuid
StorageComparer::__construct public function Constructs the Configuration storage comparer.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorageComparer.php/class/StorageComparer/8.1.x