You are here

protected function FieldableEntityNormalizerTrait::getEntityFieldManager in Drupal 10

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

Returns the entity field manager.

Return value

\Drupal\Core\Entity\EntityFieldManagerInterface The entity field manager.

1 call to FieldableEntityNormalizerTrait::getEntityFieldManager()
FieldableEntityNormalizerTrait::extractBundleData in core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php
Denormalizes the bundle property so entity creation can use it.

File

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

Class

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

Namespace

Drupal\serialization\Normalizer

Code

protected function getEntityFieldManager() {
  return $this->entityFieldManager;
}