ContentEntityNormalizer::$supportedInterfaceOrClass

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

Type: supportedInterfaceOrClass

Overrides EntityNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/ContentEntityNormalizer.php, line 16

Class

ContentEntityNormalizer
Normalizes/denormalizes Drupal content entities into an array structure.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = ContentEntityInterface::class;

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