EntityResource::$entityType
Same name and namespace in other branches
- 9 core/modules/rest/src/Plugin/rest/resource/EntityResource.php \Drupal\rest\Plugin\rest\resource\EntityResource::entityType
- 8.9.x core/modules/rest/src/Plugin/rest/resource/EntityResource.php \Drupal\rest\Plugin\rest\resource\EntityResource::entityType
- 10 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 56
Class
- EntityResource
- Represents entities as resources.
Namespace
Drupal\rest\Plugin\rest\resourceCode
protected $entityType;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.