function ConfigFactoryOverrideBaseTest::testFilterNestedArray
Same name and namespace 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 <a href="/api/drupal/core%21lib%21Drupal%21Core%21Config%21ConfigFactoryOverrideBase.php/class/ConfigFactoryOverrideBase/9" title="Defines a base event listener implementation configuration overrides." class="local">\Drupal\Core\Config\ConfigFactoryOverrideBase</a> @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.