protected property EntityResource::$entityRepository in JSON:API 8.2
The entity repository.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
- src/
Controller/ EntityResource.php, line 106
Class
- EntityResource
- Process all entity requests.
Namespace
Drupal\jsonapi\ControllerCode
protected $entityRepository;