Drupal 8  8.0.2
EntityNormalizer Class Reference
Inheritance diagram for EntityNormalizer:

Public Member Functions

 __construct (EntityManagerInterface $entity_manager)
- Public Member Functions inherited from ComplexDataNormalizer
 normalize ($object, $format=NULL, array $context=array())
- Public Member Functions inherited from NormalizerBase
 supportsNormalization ($data, $format=NULL)
 supportsDenormalization ($data, $type, $format=NULL)

Protected Attributes

 $supportedInterfaceOrClass = array('Drupal\Core\Entity\EntityInterface')
- Protected Attributes inherited from ComplexDataNormalizer
 $supportedInterfaceOrClass = 'Drupal\Core\TypedData\ComplexDataInterface'
- Protected Attributes inherited from NormalizerBase

Additional Inherited Members

- Protected Member Functions inherited from NormalizerBase
 checkFormat ($format=NULL)

Detailed Description

Normalizes/denormalizes Drupal entity objects into an array structure.

Constructor & Destructor Documentation

__construct ( EntityManagerInterface  $entity_manager)

Constructs an EntityNormalizer object.

\Drupal\Core\Entity\EntityManagerInterface$entity_managerThe entity manager.

References Drupal\entityManager().

Here is the call graph for this function:

The documentation for this class was generated from the following file: