function 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 183

Class

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

Namespace

Drupal\serialization\Normalizer

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.