public function EntityFieldTest::testDataStructureInterfaces 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::testDataStructureInterfaces()
Tests working with the entity based upon the TypedData API.
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityFieldTest.php, line 527 - Contains \Drupal\system\Tests\Entity\EntityFieldTest.
Class
- EntityFieldTest
- Tests the Entity Field API.
Namespace
Drupal\system\Tests\EntityCode
public function testDataStructureInterfaces() {
// All entity variations have to have the same results.
foreach (entity_test_entity_types() as $entity_type) {
$this
->doTestDataStructureInterfaces($entity_type);
}
}