You are here

public function StorageReplaceDataWrapperTest::providerCollections in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php \Drupal\KernelTests\Core\Config\Storage\StorageReplaceDataWrapperTest::providerCollections()
  2. 10 core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php \Drupal\KernelTests\Core\Config\Storage\StorageReplaceDataWrapperTest::providerCollections()

Data provider for testing different collections.

Return value

array Returns an array of collection names.

File

core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php, line 86

Class

StorageReplaceDataWrapperTest
Tests StorageReplaceDataWrapper operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

public function providerCollections() {
  return [
    [
      StorageInterface::DEFAULT_COLLECTION,
    ],
    [
      'foo.bar',
    ],
  ];
}