protected property ResourceObjectEntityLoaderTrait::$entityRepository in JSON:API Hypermedia 8
The entity repository.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
- examples/
Plugin/ jsonapi_hypermedia/ LinkProvider/ ResourceObjectEntityLoaderTrait.php, line 20
Class
- ResourceObjectEntityLoaderTrait
- Trait for loading the entity represented by a resource object.
Namespace
Drupal\jsonapi_hypermedia\Plugin\jsonapi_hypermedia\LinkProviderCode
protected $entityRepository;