EntityReferenceItemNormalizer::$entityResolver

Same name in other branches
  1. 8.9.x core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php \Drupal\hal\Normalizer\EntityReferenceItemNormalizer::entityResolver

The entity resolver.

Type: \Drupal\serialization\EntityResolver\EntityResolverInterface

File

core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php, line 38

Class

EntityReferenceItemNormalizer
Converts the Drupal entity reference item object to HAL array structure.

Namespace

Drupal\hal\Normalizer

Code

protected $entityResolver;

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