You are here

protected property EntityResource::$entityType in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/src/Plugin/rest/resource/EntityResource.php \Drupal\rest\Plugin\rest\resource\EntityResource::entityType
  2. 9 core/modules/rest/src/Plugin/rest/resource/EntityResource.php \Drupal\rest\Plugin\rest\resource\EntityResource::entityType

The entity type targeted by this resource.

Type: \Drupal\Core\Entity\EntityTypeInterface

File

core/modules/rest/src/Plugin/rest/resource/EntityResource.php, line 54

Class

EntityResource
Represents entities as resources.

Namespace

Drupal\rest\Plugin\rest\resource

Code

protected $entityType;