function ConfigTest::nestedDataProvider

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

Class

ConfigTest
Tests the Config.

Namespace

Drupal\Tests\Core\Config

Code

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

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