FieldItemSerializationTest::$entity
Same name in other branches
- 9 core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
- 9 core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php \Drupal\Tests\hal\Kernel\serialization\FieldItemSerializationTest::entity
- 8.9.x core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
- 11.x core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
The test entity.
Type: \Drupal\Core\Entity\ContentEntityBase
File
-
core/
modules/ serialization/ tests/ src/ Kernel/ FieldItemSerializationTest.php, line 52
Class
- FieldItemSerializationTest
- Test field level normalization process.
Namespace
Drupal\Tests\serialization\KernelCode
protected $entity;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.