function EntityRevisionRouteEnhancerTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php \Drupal\Tests\Core\Enhancer\EntityRevisionRouteEnhancerTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php \Drupal\Tests\Core\Enhancer\EntityRevisionRouteEnhancerTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php \Drupal\Tests\Core\Enhancer\EntityRevisionRouteEnhancerTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Enhancer/ EntityRevisionRouteEnhancerTest.php, line 28
Class
- EntityRevisionRouteEnhancerTest
- @coversDefaultClass \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer @group Entity
Namespace
Drupal\Tests\Core\EnhancerCode
protected function setUp() : void {
parent::setUp();
$this->routeEnhancer = new EntityRevisionRouteEnhancer();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.