function AllowToolbarPathTest::setUp
Same name and namespace in other branches
- 9 core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php \Drupal\Tests\toolbar\Unit\PageCache\AllowToolbarPathTest::setUp()
- 8.9.x core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php \Drupal\Tests\toolbar\Unit\PageCache\AllowToolbarPathTest::setUp()
- 10 core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php \Drupal\Tests\toolbar\Unit\PageCache\AllowToolbarPathTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ toolbar/ tests/ src/ Unit/ PageCache/ AllowToolbarPathTest.php, line 28
Class
- AllowToolbarPathTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21toolbar%21src%21PageCache%21AllowToolbarPath.php/class/AllowToolbarPath/11.x" title="Cache policy for the toolbar page cache service." class="local">\Drupal\toolbar\PageCache\AllowToolbarPath</a> @group toolbar
Namespace
Drupal\Tests\toolbar\Unit\PageCacheCode
protected function setUp() : void {
parent::setUp();
$this->policy = new AllowToolbarPath();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.