You are here

protected function FieldableEntityNormalizerTrait::getEntityTypeManager in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php \Drupal\serialization\Normalizer\FieldableEntityNormalizerTrait::getEntityTypeManager()

Returns the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.

File

core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php, line 182

Class

FieldableEntityNormalizerTrait
A trait for providing fieldable entity normalization/denormalization methods.

Namespace

Drupal\serialization\Normalizer

Code

protected function getEntityTypeManager() {
  return $this->entityTypeManager;
}