Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / modules / serialization / src / EntityResolver / UuidReferenceInterface.php
1 <?php
2
3 namespace Drupal\serialization\EntityResolver;
4
5 use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
6
7 /**
8  * Interface for extracting UUID from entity reference data when denormalizing.
9  */
10 interface UuidReferenceInterface extends NormalizerInterface {
11
12   /**
13    * Get the uuid from the data array.
14    *
15    * @param array $data
16    *   The data, as was passed into the Normalizer.
17    *
18    * @return string
19    *   A UUID.
20    */
21   public function getUuid($data);
22
23 }