SerializerTest::$node

Same name in other branches
  1. 9 core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php \Drupal\Tests\jsonapi\Kernel\Serializer\SerializerTest::node
  2. 8.9.x core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php \Drupal\Tests\jsonapi\Kernel\Serializer\SerializerTest::node
  3. 11.x core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php \Drupal\Tests\jsonapi\Kernel\Serializer\SerializerTest::node

An entity for testing.

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php, line 46

Class

SerializerTest
Tests the JSON:API serializer.

Namespace

Drupal\Tests\jsonapi\Kernel\Serializer

Code

protected $node;

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