interface UuidReferenceInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php \Drupal\serialization\EntityResolver\UuidReferenceInterface
Interface for extracting UUID from entity reference data when denormalizing.
Hierarchy
- interface \Symfony\Component\Serializer\Normalizer\NormalizerInterface
- interface \Drupal\serialization\EntityResolver\UuidReferenceInterface
Expanded class hierarchy of UuidReferenceInterface
All classes that implement UuidReferenceInterface
1 file declares its use of UuidReferenceInterface
- EntityReferenceItemNormalizer.php in core/
modules/ hal/ src/ Normalizer/ EntityReferenceItemNormalizer.php - Contains \Drupal\hal\Normalizer\EntityReferenceItemNormalizer.
File
- core/
modules/ serialization/ src/ EntityResolver/ UuidReferenceInterface.php, line 15 - Contains \Drupal\serialization\EntityResolver\UuidReferenceInterface.
Namespace
Drupal\serialization\EntityResolverView source
interface UuidReferenceInterface extends NormalizerInterface {
/**
* Get the uuid from the data array.
*
* @param array $data
* The data, as was passed into the Normalizer.
*
* @return string
* A UUID.
*/
public function getUuid($data);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NormalizerInterface:: |
public | function | Normalizes an object into a set of arrays/scalars. | 15 |
NormalizerInterface:: |
public | function | Checks whether the given class is supported for normalization by this normalizer. | 8 |
UuidReferenceInterface:: |
public | function | Get the uuid from the data array. | 1 |