function StorageCopyTraitTest::providerTestReplaceStorageContents

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php \Drupal\Tests\Core\Config\StorageCopyTraitTest::providerTestReplaceStorageContents()
  2. 8.9.x core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php \Drupal\Tests\Core\Config\StorageCopyTraitTest::providerTestReplaceStorageContents()
  3. 11.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 71

Class

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

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.