You are here

public function ConfigTest::nestedDataProvider in Zircon Profile 8.0

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 486
Contains \Drupal\Tests\Core\Config\ConfigTest.

Class

ConfigTest
Tests the Config.

Namespace

Drupal\Tests\Core\Config

Code

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