class FieldItemNormalizer

Converts the Drupal field item object structure to HAL array structure.

Hierarchy

Expanded class hierarchy of FieldItemNormalizer

1 file declares its use of FieldItemNormalizer
1 string reference to 'FieldItemNormalizer'
1 service uses FieldItemNormalizer

File

drupal/core/modules/hal/lib/Drupal/hal/Normalizer/FieldItemNormalizer.php, line 15
Contains \Drupal\hal\Normalizer\FieldItemNormalizer.

Namespace

Drupal\hal\Normalizer
View source

Members

Namesort descending Modifiers Type Description Overrides
FieldItemNormalizer::$supportedInterfaceOrClass protected property The interface or class that this Normalizer supports. Overrides NormalizerBase::$supportedInterfaceOrClass 1
FieldItemNormalizer::constructValue protected function Build the field item value using the incoming data. 1
FieldItemNormalizer::createTranslatedInstance protected function Get a translated version of the field item instance.
FieldItemNormalizer::denormalize public function Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize() Overrides DenormalizerInterface::denormalize
FieldItemNormalizer::normalize public function Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize() Overrides NormalizerInterface::normalize 1
NormalizerBase::$entityResolver protected property The entity resolver.
NormalizerBase::$formats protected property The formats that the Normalizer can handle.
NormalizerBase::$linkManager protected property The hypermedia link manager.
NormalizerBase::setEntityResolver public function Sets the entity resolver.
NormalizerBase::setLinkManager public function Sets the link manager.
NormalizerBase::supportsDenormalization public function Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization() Overrides DenormalizerInterface::supportsDenormalization
NormalizerBase::supportsNormalization public function Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::supportsNormalization(). Overrides NormalizerBase::supportsNormalization
SerializerAwareNormalizer::$serializer protected property
SerializerAwareNormalizer::setSerializer public function Sets the owning Serializer object Overrides SerializerAwareInterface::setSerializer