FieldItemNormalizer::$supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string

Overrides NormalizerBase::$supportedInterfaceOrClass

File

core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php, line 37

Class

FieldItemNormalizer
Converts the Drupal field item object to a JSON:API array structure.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $supportedInterfaceOrClass = FieldItemInterface::class;

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