You are here

protected property FieldItemNormalizer::$supportedInterfaceOrClass in Drupal 9

Same name in this branch
  1. 9 core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php \Drupal\jsonapi\Normalizer\FieldItemNormalizer::supportedInterfaceOrClass
  2. 9 core/modules/hal/src/Normalizer/FieldItemNormalizer.php \Drupal\hal\Normalizer\FieldItemNormalizer::supportedInterfaceOrClass
  3. 9 core/modules/serialization/src/Normalizer/FieldItemNormalizer.php \Drupal\serialization\Normalizer\FieldItemNormalizer::supportedInterfaceOrClass
Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php \Drupal\jsonapi\Normalizer\FieldItemNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string

Overrides NormalizerBase::$supportedInterfaceOrClass

File

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

Class

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

Namespace

Drupal\jsonapi\Normalizer

Code

protected $supportedInterfaceOrClass = FieldItemInterface::class;