FieldItemSerializationTest::$entity

Same name in other branches
  1. 9 core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
  2. 9 core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php \Drupal\Tests\hal\Kernel\serialization\FieldItemSerializationTest::entity
  3. 10 core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php \Drupal\Tests\serialization\Kernel\FieldItemSerializationTest::entity
  4. 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 50

Class

FieldItemSerializationTest
Test field level normalization process.

Namespace

Drupal\Tests\serialization\Kernel

Code

protected $entity;

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