public function EntityFieldTest::testReadWrite in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Entity/EntityFieldTest.php \Drupal\system\Tests\Entity\EntityFieldTest::testReadWrite()
Tests reading and writing properties and field items.
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityFieldTest.php, line 93 - Contains \Drupal\system\Tests\Entity\EntityFieldTest.
Class
- EntityFieldTest
- Tests the Entity Field API.
Namespace
Drupal\system\Tests\EntityCode
public function testReadWrite() {
// All entity variations have to have the same results.
foreach (entity_test_entity_types() as $entity_type) {
$this
->doTestReadWrite($entity_type);
}
}