protected property EntitySerializationTest::$entity in Drupal 8
Same name and namespace in other branches
- 9 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::entity
- 10 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::entity
The test entity.
Type: \Drupal\Core\Entity\ContentEntityInterface
File
- core/
modules/ serialization/ tests/ src/ Kernel/ EntitySerializationTest.php, line 48
Class
- EntitySerializationTest
- Tests that entities can be serialized to supported core formats.
Namespace
Drupal\Tests\serialization\KernelCode
protected $entity;