interface UuidReferenceInterface

Interface for extracting UUID from entity reference data when denormalizing.

Hierarchy

Expanded class hierarchy of UuidReferenceInterface

All classes that implement UuidReferenceInterface

1 file declares its use of UuidReferenceInterface

File

drupal/core/modules/serialization/lib/Drupal/serialization/EntityResolver/UuidReferenceInterface.php, line 13
Contains \Drupal\serialization\EntityResolver\UuidReferenceInterface

Namespace

Drupal\serialization\EntityResolver
View source
interface UuidReferenceInterface {

  /**
   * Get the uuid from the data array.
   *
   * @param array $data
   *   The data, as was passed into the Normalizer.
   *
   * @return string
   *   A UUID.
   */
  public function getUuid($data);

}

Members

Namesort descending Modifiers Type Description Overrides
UuidReferenceInterface::getUuid public function Get the uuid from the data array. 1