Search for compare

  1. Search 7.x for compare
  2. Search 9.5.x for compare
  3. Search 8.9.x for compare
  4. Search 11.x for compare
  5. Search main for compare
  6. Other projects
Title Object type File name Summary
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]]
TestFileCreationTrait::compareFiles function core/tests/Drupal/Tests/TestFileCreationTrait.php Compares two files based on size and file name.
update.compare.inc file core/modules/update/update.compare.inc Code required only when comparing available updates to existing data.
_locale_translation_source_compare function core/modules/locale/locale.translation.inc Compare two update sources, looking for the newer one.

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