function ConfigDependencyManagerTest::testSortAll
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php \Drupal\Tests\Core\Config\ConfigDependencyManagerTest::testSortAll()
- 8.9.x core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php \Drupal\Tests\Core\Config\ConfigDependencyManagerTest::testSortAll()
- 11.x core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php \Drupal\Tests\Core\Config\ConfigDependencyManagerTest::testSortAll()
@dataProvider providerTestSortAll
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigDependencyManagerTest.php, line 22
Class
- ConfigDependencyManagerTest
- Tests the ConfigDependencyManager class.
Namespace
Drupal\Tests\Core\ConfigCode
public function testSortAll(array $data, array $expected_order) : void {
$dependency_manager = new ConfigDependencyManager();
$dependency_manager->setData($data);
$this->assertEquals($expected_order, $dependency_manager->sortAll());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.