protected property EntityReferenceFieldItemNormalizer::$entityRepository in Drupal 8
Same name and namespace in other branches
- 9 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 27
Class
- EntityReferenceFieldItemNormalizer
- Adds the file URI to embedded file entities.
Namespace
Drupal\serialization\NormalizerCode
protected $entityRepository;