You are here

public function StorageCopyTraitTest::providerTestReplaceStorageContents in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php \Drupal\Tests\Core\Config\StorageCopyTraitTest::providerTestReplaceStorageContents()
  2. 10 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;
}