You are here

protected property EntityReferenceFieldItemNormalizer::$supportedInterfaceOrClass in Drupal 9

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

The interface or class that this Normalizer supports.

Type: string|array

Overrides FieldItemNormalizer::$supportedInterfaceOrClass

File

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

Class

EntityReferenceFieldItemNormalizer
Adds the file URI to embedded file entities.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = EntityReferenceItem::class;