function LinkFieldTest::setUp
Same name in this branch
- 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 in other branches
- 9 core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::setUp()
- 9 core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php \Drupal\Tests\link\Kernel\Plugin\migrate\field\d7\LinkFieldTest::setUp()
- 9 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::setUp()
- 8.9.x core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::setUp()
- 8.9.x core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php \Drupal\Tests\link\Kernel\Plugin\migrate\field\d7\LinkFieldTest::setUp()
- 8.9.x core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::setUp()
- 11.x core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::setUp()
- 11.x core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php \Drupal\Tests\link\Kernel\Plugin\migrate\field\d7\LinkFieldTest::setUp()
- 11.x core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php, line 61
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',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.