function WorkspaceMenuLinkContentIntegrationTest::setUp
Same name in other branches
- 10 core/modules/workspaces/tests/src/Functional/WorkspaceMenuLinkContentIntegrationTest.php \Drupal\Tests\workspaces\Functional\WorkspaceMenuLinkContentIntegrationTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceMenuLinkContentIntegrationTest.php, line 47
Class
- WorkspaceMenuLinkContentIntegrationTest
- Tests workspace integration for custom menu links.
Namespace
Drupal\Tests\workspaces\FunctionalCode
protected function setUp() : void {
parent::setUp();
$permissions = [
'access administration pages',
'administer menu',
'administer site configuration',
'administer workspaces',
];
$this->drupalLogin($this->drupalCreateUser($permissions));
$this->drupalPlaceBlock('system_menu_block:main');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.