function UuidReferenceInterface::getUuid

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

Code

public function getUuid($data);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.