You are here

public function StorageCopyTraitTest::providerTestReplaceStorageContents in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php \Drupal\Tests\Core\Config\StorageCopyTraitTest::providerTestReplaceStorageContents()
  2. 9 core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php \Drupal\Tests\Core\Config\StorageCopyTraitTest::providerTestReplaceStorageContents()

Provides data for testCheckRequirements().

File

core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php, line 69

Class

StorageCopyTraitTest
@coversDefaultClass \Drupal\Core\Config\StorageCopyTrait @group Config

Namespace

Drupal\Tests\Core\Config

Code

public function providerTestReplaceStorageContents() {
  $data = [];
  $data[] = [
    TRUE,
    TRUE,
  ];
  $data[] = [
    TRUE,
    FALSE,
  ];
  $data[] = [
    FALSE,
    TRUE,
  ];
  $data[] = [
    FALSE,
    FALSE,
  ];
  return $data;
}