FieldItemNormalizer::$supportedInterfaceOrClass

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

Type: supportedInterfaceOrClass

Overrides NormalizerBase::$supportedInterfaceOrClass

File

core/modules/hal/src/Normalizer/FieldItemNormalizer.php, line 22

Class

FieldItemNormalizer
Converts the Drupal field item object structure to HAL array structure.

Namespace

Drupal\hal\Normalizer

Code

protected $supportedInterfaceOrClass = FieldItemInterface::class;

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