public function ManageFieldsFunctionalTest::testCRUDFields in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php \Drupal\Tests\field_ui\Functional\ManageFieldsFunctionalTest::testCRUDFields()
- 9 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\FunctionalCode
public function testCRUDFields() {
$this
->manageFieldsPage();
$this
->createField();
$this
->updateField();
$this
->addExistingField();
$this
->cardinalitySettings();
$this
->fieldListAdminPage();
$this
->deleteField();
$this
->addPersistentFieldStorage();
}