public function UuidReferenceInterface::getUuid in Drupal 10
Same name and namespace in other branches
- 8 core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php \Drupal\serialization\EntityResolver\UuidReferenceInterface::getUuid()
- 9 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.
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);