function UuidReferenceInterface::getUuid
Same name in other branches
- 9 core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php \Drupal\serialization\EntityResolver\UuidReferenceInterface::getUuid()
- 8.9.x 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.
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.