FieldItemSerializationTest::$entity

Same name in this branch
  1. 9 core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
Same name and namespace in other branches
  1. 8.9.x core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
  2. 10 core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
  3. 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/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php, line 51

Class

FieldItemSerializationTest
Test field level normalization process.

Namespace

Drupal\Tests\hal\Kernel\serialization

Code

protected $entity;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.