protected function LinkClassWidgetTest::setUp in Link class 8
Same name and namespace in other branches
- 2.0.x tests/src/Functional/LinkClassWidgetTest.php \Drupal\Tests\link_class\Functional\LinkClassWidgetTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ LinkClassWidgetTest.php, line 83
Class
- LinkClassWidgetTest
- Tests link_class field widgets.
Namespace
Drupal\Tests\link_class\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalCreateContentType([
'type' => 'article',
]);
$this
->drupalLogin($this
->drupalCreateUser([
'view test entity',
'administer content types',
'administer node fields',
'administer node form display',
'administer node display',
'administer nodes',
'edit any article content',
]));
}