function FieldImportDeleteUninstallUiTest::setUp

Same name in other branches
  1. 9 core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()
  2. 10 core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()
  3. 11.x core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php, line 38

Class

FieldImportDeleteUninstallUiTest
Delete field storages and fields during config synchronization and uninstall module that provides the field type through the UI.

Namespace

Drupal\Tests\field\Functional

Code

protected function setUp() {
    parent::setUp();
    $this->drupalLogin($this->drupalCreateUser([
        'synchronize configuration',
    ]));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.