Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 8.9.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
StorageComparer::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparer.php Validates that the system.site::uuid in the source and target match.
StorageComparer::writeMode function core/lib/Drupal/Core/Config/StorageComparer.php Changes the StorageComparer to write mode.
StorageComparer::__construct function core/lib/Drupal/Core/Config/StorageComparer.php Constructs the Configuration storage comparer.
StorageComparer::__sleep function core/lib/Drupal/Core/Config/StorageComparer.php
StorageComparer::__wakeup function core/lib/Drupal/Core/Config/StorageComparer.php
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::createChangelist function core/lib/Drupal/Core/Config/StorageComparerInterface.php Calculates the differences.
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.
StorageComparerInterface::writeMode function core/lib/Drupal/Core/Config/StorageComparerInterface.php Changes the StorageComparer to write mode.
StorageComparerTest class core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @coversDefaultClass \Drupal\Core\Config\StorageComparer[[api-linebreak]]
@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::generateRandomData function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php Generate random data in a config storage.
StorageComparerTest::getConfigData function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::setUp function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php
StorageComparerTest::testCreateChangelistCreate function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist[[api-linebreak]]
StorageComparerTest::testCreateChangelistDelete function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist[[api-linebreak]]
StorageComparerTest::testCreateChangelistNoChange function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist[[api-linebreak]]
StorageComparerTest::testCreateChangelistUpdate function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist[[api-linebreak]]
StorageComparerTest::testDifferentCollections function core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @covers ::createChangelist[[api-linebreak]]
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[[api-linebreak]]
@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[[api-linebreak]]
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.
StorageException class core/lib/Drupal/Core/Config/StorageException.php An exception thrown in case of storage operation errors.
StorageException.php file core/lib/Drupal/Core/Config/StorageException.php
StorageInterface interface core/lib/Drupal/Core/Config/StorageInterface.php Defines an interface for configuration storage.
StorageInterface.php file core/lib/Drupal/Core/Config/StorageInterface.php
StorageInterface::createCollection function core/lib/Drupal/Core/Config/StorageInterface.php Creates a collection on the storage.
StorageInterface::decode function core/lib/Drupal/Core/Config/StorageInterface.php Decodes configuration data from the storage-specific format.
StorageInterface::DEFAULT_COLLECTION constant core/lib/Drupal/Core/Config/StorageInterface.php The default collection name.

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