function ManageFieldsLifecycleTest::testCRUDFields

Same name in other branches
  1. 10 core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php \Drupal\Tests\field_ui\Functional\ManageFieldsLifecycleTest::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/ManageFieldsLifecycleTest.php, line 24

Class

ManageFieldsLifecycleTest
Tests the Field UI "Manage fields" screen.

Namespace

Drupal\Tests\field_ui\Functional

Code

public function testCRUDFields() : void {
    $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.