function ConfigFactoryOverrideBaseTest::testFilterNestedArray
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php \Drupal\Tests\Core\Config\ConfigFactoryOverrideBaseTest::testFilterNestedArray()
- 10 core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php \Drupal\Tests\Core\Config\ConfigFactoryOverrideBaseTest::testFilterNestedArray()
- 11.x core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php \Drupal\Tests\Core\Config\ConfigFactoryOverrideBaseTest::testFilterNestedArray()
@dataProvider providerTestFilterNestedArray
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigFactoryOverrideBaseTest.php, line 20
Class
- ConfigFactoryOverrideBaseTest
- @coversDefaultClass \Drupal\Core\Config\ConfigFactoryOverrideBase @group config
Namespace
Drupal\Tests\Core\ConfigCode
public function testFilterNestedArray(array $original_data, array $override_data_before, array $override_data_after, $changed) {
$config_factory = new TestConfigFactoryOverrideBase();
$result = $config_factory->doFilterNestedArray($original_data, $override_data_before);
$this->assertEquals($changed, $result);
$this->assertEquals($override_data_after, $override_data_before);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.