Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 10.3.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
StorageComparer::createChangelist function core/lib/Drupal/Core/Config/StorageComparer.php
StorageComparer::createRenameName function core/lib/Drupal/Core/Config/StorageComparer.php Creates a rename name from the old and new names for the object.
StorageComparer::extractRenameNames function core/lib/Drupal/Core/Config/StorageComparer.php Extracts old and new configuration names from a configuration change name.
StorageComparer::getAllCollectionNames function core/lib/Drupal/Core/Config/StorageComparer.php Gets the existing collections from both the target and source storage.
StorageComparer::getAndSortConfigData function core/lib/Drupal/Core/Config/StorageComparer.php Gets and sorts configuration data from the source and target storages.
StorageComparer::getChangelist function core/lib/Drupal/Core/Config/StorageComparer.php Gets the list of differences to import.
StorageComparer::getEmptyChangelist function core/lib/Drupal/Core/Config/StorageComparer.php Gets an empty changelist.
StorageComparer::getSourceStorage function core/lib/Drupal/Core/Config/StorageComparer.php Gets the configuration source storage.
StorageComparer::getTargetStorage function core/lib/Drupal/Core/Config/StorageComparer.php Gets the configuration target storage.
StorageComparer::hasChanges function core/lib/Drupal/Core/Config/StorageComparer.php Checks if there are any operations with changes to process.
StorageComparer::moveRenameToUpdate function core/lib/Drupal/Core/Config/StorageComparer.php Moves a rename operation to an update.
StorageComparer::removeFromChangelist function core/lib/Drupal/Core/Config/StorageComparer.php Removes the entry from the given operation changelist for the given name.
StorageComparer::reset function core/lib/Drupal/Core/Config/StorageComparer.php Recalculates the differences.
StorageComparer::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparer.php Validates that the system.site::uuid in the source and target match.
StorageComparer::__construct function core/lib/Drupal/Core/Config/StorageComparer.php Constructs the Configuration storage comparer.
StorageComparerInterface interface core/lib/Drupal/Core/Config/StorageComparerInterface.php Defines an interface for comparison of configuration storage objects.
StorageComparerInterface.php file core/lib/Drupal/Core/Config/StorageComparerInterface.php
StorageComparerInterface::extractRenameNames function core/lib/Drupal/Core/Config/StorageComparerInterface.php Extracts old and new configuration names from a configuration change name.
StorageComparerInterface::getAllCollectionNames function core/lib/Drupal/Core/Config/StorageComparerInterface.php Gets the existing collections from both the target and source storage.
StorageComparerInterface::getChangelist function core/lib/Drupal/Core/Config/StorageComparerInterface.php Gets the list of differences to import.
StorageComparerInterface::getEmptyChangelist function core/lib/Drupal/Core/Config/StorageComparerInterface.php Gets an empty changelist.
StorageComparerInterface::getSourceStorage function core/lib/Drupal/Core/Config/StorageComparerInterface.php Gets the configuration source storage.
StorageComparerInterface::getTargetStorage function core/lib/Drupal/Core/Config/StorageComparerInterface.php Gets the configuration target storage.
StorageComparerInterface::hasChanges function core/lib/Drupal/Core/Config/StorageComparerInterface.php Checks if there are any operations with changes to process.
StorageComparerInterface::moveRenameToUpdate function core/lib/Drupal/Core/Config/StorageComparerInterface.php Moves a rename operation to an update.
StorageComparerInterface::reset function core/lib/Drupal/Core/Config/StorageComparerInterface.php Recalculates the differences.
StorageComparerInterface::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparerInterface.php Validates that the system.site::uuid in the source and target match.
StorageComparerTest class core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @coversDefaultClass \Drupal\Core\Config\StorageComparer
@group Config
StorageComparerTest.php file core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::$configData property core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php An array of test configuration data keyed by configuration name.
StorageComparerTest::$sourceStorage property core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::$storageComparer property core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php The storage comparer to test.
StorageComparerTest::$targetStorage property core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::getConfigData function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::setUp function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::testConfigManagerDeprecation function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @expectedDeprecation The storage comparer does not need a config manager. The parameter is deprecated since version 8.7.0 and will be removed in 9.0.0. Omit the third parameter. See https://www.drupal.org/node/2993271.
@group legacy
StorageComparerTest::testCreateChangelistCreate function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist
StorageComparerTest::testCreateChangelistDelete function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist
StorageComparerTest::testCreateChangelistNoChange function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist
StorageComparerTest::testCreateChangelistUpdate function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist
StorageCopyTrait trait core/lib/Drupal/Core/Config/StorageCopyTrait.php Utility trait to copy configuration from one storage to another.
StorageCopyTrait.php file core/lib/Drupal/Core/Config/StorageCopyTrait.php
StorageCopyTrait::replaceStorageContents function core/lib/Drupal/Core/Config/StorageCopyTrait.php Copy the configuration from one storage to another and remove stale items.
StorageCopyTraitTest class core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @coversDefaultClass \Drupal\Core\Config\StorageCopyTrait
@group Config
StorageCopyTraitTest.php file core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
StorageCopyTraitTest::generateRandomData function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Generate random data in a config storage.
StorageCopyTraitTest::providerTestReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Provides data for testCheckRequirements().
StorageCopyTraitTest::testReplaceStorageContents function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @covers ::replaceStorageContents
StorageCopyTraitTest::testWithInvalidConfiguration function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Tests replaceStorageContents() with config with an invalid configuration.
StorageCopyTraitTest::toArray function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Get the protected config data out of a MemoryStorage.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.