EntitySerializationTest::$entityClass

Same name in other branches
  1. 8.9.x core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::entityClass
  2. 10 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::entityClass
  3. 11.x core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::entityClass

The class name of the test class.

Type: string

File

core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php, line 71

Class

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

Namespace

Drupal\Tests\serialization\Kernel

Code

protected $entityClass = 'Drupal\\entity_test\\Entity\\EntityTest';

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