protected function LinkFieldTest::setUp in Drupal 10
Same name in this branch
- 10 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::setUp()
- 10 core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::setUp()
- 10 core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php \Drupal\Tests\link\Kernel\Plugin\migrate\field\d7\LinkFieldTest::setUp()
Same name and namespace in other branches
- 8 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::setUp()
- 9 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::setUp()
File
- core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php, line 58
Class
- LinkFieldTest
- Tests link field widgets and formatters.
Namespace
Drupal\Tests\link\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'view test entity',
'administer entity_test content',
'link to any page',
]));
}