EntityResource::$entityRepository
Same name in other branches
- 9 core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::entityRepository
- 8.9.x core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::entityRepository
- 10 core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::entityRepository
The entity repository.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
-
core/
modules/ jsonapi/ src/ Controller/ EntityResource.php, line 110
Class
- EntityResource
- Process all entity requests.
Namespace
Drupal\jsonapi\ControllerCode
protected $entityRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.