protected function LinkFieldUITest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/link/tests/src/Functional/LinkFieldUITest.php \Drupal\Tests\link\Functional\LinkFieldUITest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ link/ tests/ src/ Functional/ LinkFieldUITest.php, line 66
Class
- LinkFieldUITest
- Tests link field UI functionality.
Namespace
Drupal\Tests\link\FunctionalCode
protected function setUp() {
parent::setUp();
$this->firstContentType = $this
->drupalCreateContentType();
$this->secondContentType = $this
->drupalCreateContentType();
$this->adminUser = $this
->drupalCreateUser([
'administer content types',
'administer node fields',
'administer node display',
]);
$this->helpTextUser = $this
->drupalCreateUser([
'create ' . $this->secondContentType
->id() . ' content',
]);
$this
->drupalPlaceBlock('system_breadcrumb_block');
}