You are here

public function ConfigTest::overrideDataProvider in Zircon Profile 8

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

Provides override data.

See also

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

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

File

core/tests/Drupal/Tests/Core/Config/ConfigTest.php, line 441
Contains \Drupal\Tests\Core\Config\ConfigTest.

Class

ConfigTest
Tests the Config.

Namespace

Drupal\Tests\Core\Config

Code

public function overrideDataProvider() {
  return array(
    array(
      // Original data.
      array(
        'a' => 'originalValue',
      ),
      // Module overrides.
      array(
        'a' => 'moduleValue',
      ),
      // Setting overrides.
      array(
        'a' => 'settingValue',
      ),
    ),
  );
}