function ConfigDependencyManagerTest::testSortAll
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php \Drupal\Tests\Core\Config\ConfigDependencyManagerTest::testSortAll()
- 10 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 20
Class
- ConfigDependencyManagerTest
- Tests the ConfigDependencyManager class.
Namespace
Drupal\Tests\Core\ConfigCode
public function testSortAll(array $data, array $expected_order) {
$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.