function MenuLinkContentFormTest::setUp
Same name in other branches
- 9 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentFormTest::setUp()
- 10 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentFormTest::setUp()
- 11.x core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentFormTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ menu_link_content/ tests/ src/ Functional/ MenuLinkContentFormTest.php, line 48
Class
- MenuLinkContentFormTest
- Tests the menu link content UI.
Namespace
Drupal\Tests\menu_link_content\FunctionalCode
protected function setUp() {
parent::setUp();
$this->adminUser = $this->drupalCreateUser([
'administer menu',
'link to any page',
]);
$this->basicUser = $this->drupalCreateUser([
'administer menu',
]);
$this->drupalLogin($this->adminUser);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.