You are here

protected property FieldItemSerializationTest::$entity in Drupal 8

Same name and namespace in other branches
  1. 9 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

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;