You are here

protected property ContentEntityNormalizer::$supportedInterfaceOrClass in Zircon Profile 8

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

The interface or class that this Normalizer supports.

Type: array

Overrides EntityNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/ContentEntityNormalizer.php, line 20
Contains \Drupal\serialization\Normalizer\ContentEntityNormalizer.

Class

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

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = [
  'Drupal\\Core\\Entity\\ContentEntityInterface',
];