protected function FieldableEntityNormalizerTrait::getEntityTypeRepository in Drupal 9
Same name and namespace in other branches
- 8 core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php \Drupal\serialization\Normalizer\FieldableEntityNormalizerTrait::getEntityTypeRepository()
- 10 core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php \Drupal\serialization\Normalizer\FieldableEntityNormalizerTrait::getEntityTypeRepository()
Returns the entity type repository.
Return value
\Drupal\Core\Entity\EntityTypeRepositoryInterface The entity type repository.
File
- core/
modules/ serialization/ src/ Normalizer/ FieldableEntityNormalizerTrait.php, line 162
Class
- FieldableEntityNormalizerTrait
- A trait for providing fieldable entity normalization/denormalization methods.
Namespace
Drupal\serialization\NormalizerCode
protected function getEntityTypeRepository() {
return $this->entityTypeRepository;
}