Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
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[[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::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[[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]]
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.
StorageInterface::delete function core/lib/Drupal/Core/Config/StorageInterface.php Deletes a configuration object from the storage.
StorageInterface::deleteAll function core/lib/Drupal/Core/Config/StorageInterface.php Deletes configuration objects whose names start with a given prefix.
StorageInterface::encode function core/lib/Drupal/Core/Config/StorageInterface.php Encodes configuration data into the storage-specific format.
StorageInterface::exists function core/lib/Drupal/Core/Config/StorageInterface.php Returns whether a configuration object exists.
StorageInterface::getAllCollectionNames function core/lib/Drupal/Core/Config/StorageInterface.php Gets the existing collections.
StorageInterface::getCollectionName function core/lib/Drupal/Core/Config/StorageInterface.php Gets the name of the current collection the storage is using.
StorageInterface::listAll function core/lib/Drupal/Core/Config/StorageInterface.php Gets configuration object names starting with a given prefix.
StorageInterface::read function core/lib/Drupal/Core/Config/StorageInterface.php Reads configuration data from the storage.
StorageInterface::readMultiple function core/lib/Drupal/Core/Config/StorageInterface.php Reads configuration data from the storage.
StorageInterface::rename function core/lib/Drupal/Core/Config/StorageInterface.php Renames a configuration object in the storage.
StorageInterface::write function core/lib/Drupal/Core/Config/StorageInterface.php Writes configuration data to the storage.
StorageManagerInterface interface core/lib/Drupal/Core/Config/StorageManagerInterface.php Interface for a storage manager.
StorageManagerInterface.php file core/lib/Drupal/Core/Config/StorageManagerInterface.php
StorageManagerInterface::getStorage function core/lib/Drupal/Core/Config/StorageManagerInterface.php Get the config storage.
StorageReplaceDataWrapper class core/modules/config/src/StorageReplaceDataWrapper.php Wraps a configuration storage to allow replacing specific configuration data.
StorageReplaceDataWrapper.php file core/modules/config/src/StorageReplaceDataWrapper.php
StorageReplaceDataWrapper::$collection property core/modules/config/src/StorageReplaceDataWrapper.php The storage collection.

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