You are here

protected property EntityNormalizer::$supportedInterfaceOrClass in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/serialization/src/Normalizer/EntityNormalizer.php \Drupal\serialization\Normalizer\EntityNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

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;