You are here

protected property ResourceTest::$entity in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/rest/tests/src/Functional/ResourceTest.php \Drupal\Tests\rest\Functional\ResourceTest::entity

The entity.

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/rest/tests/src/Functional/ResourceTest.php, line 38

Class

ResourceTest
Tests the structure of a REST resource.

Namespace

Drupal\Tests\rest\Functional

Code

protected $entity;