You are here

protected property EntityReferenceItemNormalizer::$supportedInterfaceOrClass in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php \Drupal\hal\Normalizer\EntityReferenceItemNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

Overrides FieldItemNormalizer::$supportedInterfaceOrClass

File

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

Class

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

Namespace

Drupal\hal\Normalizer

Code

protected $supportedInterfaceOrClass = EntityReferenceItem::class;