EntityNormalizer::$supportedInterfaceOrClass

Same name in other branches
  1. 8.9.x core/modules/serialization/src/Normalizer/EntityNormalizer.php \Drupal\serialization\Normalizer\EntityNormalizer::supportedInterfaceOrClass

Type: supportedInterfaceOrClass

Overrides ComplexDataNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/EntityNormalizer.php, line 22

Class

EntityNormalizer
Normalizes/denormalizes Drupal entity objects into an array structure.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = EntityInterface::class;

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