function MenuAccessTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php \Drupal\Tests\system\Functional\Menu\MenuAccessTest::setUp()
  2. 8.9.x core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php \Drupal\Tests\system\Functional\Menu\MenuAccessTest::setUp()
  3. 10 core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php \Drupal\Tests\system\Functional\Menu\MenuAccessTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php, line 31

Class

MenuAccessTest
Tests the route access checks on menu links.

Namespace

Drupal\Tests\system\Functional\Menu

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalPlaceBlock('local_tasks_block');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.