EntityReferenceFieldItemNormalizer::$supportedInterfaceOrClass

Same name in other branches
  1. 9 core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php \Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer::supportedInterfaceOrClass

Type: supportedInterfaceOrClass

Overrides FieldItemNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php, line 20

Class

EntityReferenceFieldItemNormalizer
Adds the file URI to embedded file entities.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = EntityReferenceItem::class;

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