EntityReferenceFieldNormalizer::$supportedInterfaceOrClass

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php \Drupal\jsonapi\Normalizer\EntityReferenceFieldNormalizer::supportedInterfaceOrClass

Type: supportedInterfaceOrClass

Overrides FieldNormalizer::$supportedInterfaceOrClass

File

core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php, line 30

Class

EntityReferenceFieldNormalizer
Normalizer class specific for entity reference field objects.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $supportedInterfaceOrClass = EntityReferenceFieldItemListInterface::class;

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