function RouteProcessorCurrentIntegrationTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteProcessorCurrentIntegrationTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteProcessorCurrentIntegrationTest::setUp()
- 11.x core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteProcessorCurrentIntegrationTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ RouteProcessor/ RouteProcessorCurrentIntegrationTest.php, line 36
Class
- RouteProcessorCurrentIntegrationTest
- Tests the <current> route processor.
Namespace
Drupal\KernelTests\Core\RouteProcessorCode
protected function setUp() : void {
parent::setUp();
$this->urlGenerator = \Drupal::urlGenerator();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.