function 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.