You are here

protected property EntitySerializationTest::$entity in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/serialization/src/Tests/EntitySerializationTest.php \Drupal\serialization\Tests\EntitySerializationTest::entity

The test entity.

Type: \Drupal\Core\Entity\ContentEntityBase

File

core/modules/serialization/src/Tests/EntitySerializationTest.php, line 38
Contains \Drupal\serialization\Tests\EntitySerializationTest.

Class

EntitySerializationTest
Tests that entities can be serialized to supported core formats.

Namespace

Drupal\serialization\Tests

Code

protected $entity;