7 calls to StorageCopyTrait::replaceStorageContents() in Drupal 9
- ConfigManager::createSnapshot in core/
lib/ Drupal/ Core/ Config/ ConfigManager.php - Creates a configuration snapshot following a successful import.
- ConfigTestTrait::copyConfig in core/
tests/ Drupal/ Tests/ ConfigTestTrait.php - Copies configuration objects from source storage to target storage.
- ExportStorageManager::getStorage in core/
lib/ Drupal/ Core/ Config/ ExportStorageManager.php - Get the config storage.
- ImportStorageTransformer::transform in core/
lib/ Drupal/ Core/ Config/ ImportStorageTransformer.php - Transform the storage to be imported from.
- ReadOnlyStorageTest::testWriteOperations in core/
tests/ Drupal/ Tests/ Core/ Config/ ReadOnlyStorageTest.php - @covers ::write @covers ::delete @covers ::rename @covers ::deleteAll
- StorageCopyTraitTest::testReplaceStorageContents in core/
tests/ Drupal/ Tests/ Core/ Config/ StorageCopyTraitTest.php - @covers ::replaceStorageContents
- StorageCopyTraitTest::testWithInvalidConfiguration in core/
tests/ Drupal/ Tests/ Core/ Config/ StorageCopyTraitTest.php - Tests replaceStorageContents() with config with an invalid configuration.