protected function RouteProcessorCurrentIntegrationTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/RouteProcessor/RouteProcessorCurrentIntegrationTest.php \Drupal\system\Tests\RouteProcessor\RouteProcessorCurrentIntegrationTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ RouteProcessor/ RouteProcessorCurrentIntegrationTest.php, line 41 - Contains \Drupal\system\Tests\RouteProcessor\RouteProcessorCurrentIntegrationTest.
Class
- RouteProcessorCurrentIntegrationTest
- Tests the <current> route processor.
Namespace
Drupal\system\Tests\RouteProcessorCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', [
'router',
]);
\Drupal::service('router.builder')
->rebuild();
$this->urlGenerator = \Drupal::urlGenerator();
}