public function UuidReferenceInterface::getUuid in Drupal 8
Same name and namespace in other branches
- 9 core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php \Drupal\serialization\EntityResolver\UuidReferenceInterface::getUuid()
- 10 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 21
Class
- UuidReferenceInterface
- Interface for extracting UUID from entity reference data when denormalizing.
Namespace
Drupal\serialization\EntityResolverCode
public function getUuid($data);