You are here

protected property FieldNormalizer::$supportedInterfaceOrClass in Drupal 9

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

The interface or class that this Normalizer supports.

Type: string|array

Overrides ListNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/FieldNormalizer.php, line 24

Class

FieldNormalizer
Denormalizes data to Drupal field values.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = FieldItemListInterface::class;