You are here

protected property EntityReferenceFieldItemNormalizer::$entityRepository in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php \Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer::entityRepository

The entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php, line 28

Class

EntityReferenceFieldItemNormalizer
Adds the file URI to embedded file entities.

Namespace

Drupal\serialization\Normalizer

Code

protected $entityRepository;