function StringFieldTest::setUp
Same name in other branches
- 8.9.x core/modules/field/tests/src/Functional/String/StringFieldTest.php \Drupal\Tests\field\Functional\String\StringFieldTest::setUp()
- 10 core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php \Drupal\Tests\field\Functional\FunctionalString\StringFieldTest::setUp()
- 11.x core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php \Drupal\Tests\field\Functional\FunctionalString\StringFieldTest::setUp()
Overrides BrowserTestBase::setUp
1 call to StringFieldTest::setUp()
- TextFieldTest::setUp in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php
1 method overrides StringFieldTest::setUp()
- TextFieldTest::setUp in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php
File
-
core/
modules/ field/ tests/ src/ Functional/ String/ StringFieldTest.php, line 40
Class
- StringFieldTest
- Tests the creation of string fields.
Namespace
Drupal\Tests\field\Functional\StringCode
protected function setUp() : void {
parent::setUp();
$this->webUser = $this->drupalCreateUser([
'view test entity',
'administer entity_test content',
'access content',
]);
$this->drupalLogin($this->webUser);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.