public function UuidReferenceInterface::getUuid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php \Drupal\serialization\EntityResolver\UuidReferenceInterface::getUuid()
Get the uuid from the data array.
Parameters
array $data: The data, as was passed into the Normalizer.
Return value
string A UUID.
1 method overrides UuidReferenceInterface::getUuid()
- EntityReferenceItemNormalizer::getUuid in core/
modules/ hal/ src/ Normalizer/ EntityReferenceItemNormalizer.php - Get the uuid from the data array.
File
- core/
modules/ serialization/ src/ EntityResolver/ UuidReferenceInterface.php, line 26 - Contains \Drupal\serialization\EntityResolver\UuidReferenceInterface.
Class
- UuidReferenceInterface
- Interface for extracting UUID from entity reference data when denormalizing.
Namespace
Drupal\serialization\EntityResolverCode
public function getUuid($data);