function EntityFormTest::testFormCRUD
Tests basic form CRUD functionality.
File
-
core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityFormTest.php, line 56
Class
- EntityFormTest
- Tests the entity form.
Namespace
Drupal\Tests\system\Functional\EntityCode
public function testFormCRUD() : void {
// All entity variations have to have the same results.
foreach (entity_test_entity_types() as $entity_type) {
$this->doTestFormCRUD($entity_type);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.