function StorageCopyTraitTest::providerTestReplaceStorageContents

Same name and namespace in other branches
  1. 10 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()
  3. 8.9.x 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 76

Class

StorageCopyTraitTest
Tests Drupal\Core\Config\StorageCopyTrait.

Namespace

Drupal\Tests\Core\Config

Code

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

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