function EmailFieldTest::setUp
Same name in other branches
- 9 core/modules/field/tests/src/Functional/Email/EmailFieldTest.php \Drupal\Tests\field\Functional\Email\EmailFieldTest::setUp()
- 8.9.x core/modules/field/tests/src/Functional/Email/EmailFieldTest.php \Drupal\Tests\field\Functional\Email\EmailFieldTest::setUp()
- 10 core/modules/field/tests/src/Functional/Email/EmailFieldTest.php \Drupal\Tests\field\Functional\Email\EmailFieldTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ field/ tests/ src/ Functional/ Email/ EmailFieldTest.php, line 46
Class
- EmailFieldTest
- Tests email field functionality.
Namespace
Drupal\Tests\field\Functional\EmailCode
protected function setUp() : void {
parent::setUp();
$this->drupalLogin($this->drupalCreateUser([
'view test entity',
'administer entity_test content',
'administer content types',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.