function ManageFieldsFunctionalTest::testCRUDFields

Same name and namespace in other branches
  1. 8.9.x core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php \Drupal\Tests\field_ui\Functional\ManageFieldsFunctionalTest::testCRUDFields()

Runs the field CRUD tests.

In order to act on the same fields, and not create the fields over and over again the following tests create, update and delete the same fields.

File

core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php, line 148

Class

ManageFieldsFunctionalTest
Tests the Field UI "Manage fields" screen.

Namespace

Drupal\Tests\field_ui\Functional

Code

public function testCRUDFields() {
    $this->manageFieldsPage();
    $this->createField();
    $this->updateField();
    $this->addExistingField();
    $this->cardinalitySettings();
    $this->fieldListAdminPage();
    $this->deleteField();
    $this->addPersistentFieldStorage();
}

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