You are here

public function ConfigTest::nestedDataProvider in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::nestedDataProvider()

Provides nested test data.

See also

\Drupal\Tests\Core\Config\ConfigTest::testSetData()

\Drupal\Tests\Core\Config\ConfigTest::testSave()

\Drupal\Tests\Core\Config\ConfigTest::testSetValue()

\Drupal\Tests\Core\Config\ConfigTest::testInitWithData()

\Drupal\Tests\Core\Config\ConfigTest::testNestedClear()

File

core/tests/Drupal/Tests/Core/Config/ConfigTest.php, line 561

Class

ConfigTest
Tests the Config.

Namespace

Drupal\Tests\Core\Config

Code

public function nestedDataProvider() {
  return [
    [
      [
        'a' => [
          'd' => 1,
        ],
        'b' => [
          'e' => 2,
        ],
        'c' => [
          'f' => 3,
        ],
      ],
    ],
  ];
}