public function EntityFieldTest::testComputedProperties 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::testComputedProperties()
Tests getting processed property values via a computed property.
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityFieldTest.php, line 712 - Contains \Drupal\system\Tests\Entity\EntityFieldTest.
Class
- EntityFieldTest
- Tests the Entity Field API.
Namespace
Drupal\system\Tests\EntityCode
public function testComputedProperties() {
// All entity variations have to have the same results.
foreach (entity_test_entity_types() as $entity_type) {
$this
->doTestComputedProperties($entity_type);
}
}