interface UuidReferenceInterface
Interface for extracting UUID from entity reference data when denormalizing.
Hierarchy
- interface \Symfony\Component\Serializer\Normalizer\NormalizerInterface
- interface \Drupal\serialization\EntityResolver\UuidReferenceInterface extends \Symfony\Component\Serializer\Normalizer\NormalizerInterface
Expanded class hierarchy of UuidReferenceInterface
All classes that implement UuidReferenceInterface
File
-
core/
modules/ serialization/ src/ EntityResolver/ UuidReferenceInterface.php, line 10
Namespace
Drupal\serialization\EntityResolverView source
interface UuidReferenceInterface extends NormalizerInterface {
/**
* 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
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
NormalizerInterface::getSupportedTypes | public | function | Returns the types potentially supported by this normalizer. | 20 |
NormalizerInterface::normalize | public | function | Normalizes data into a set of arrays/scalars. | 34 |
NormalizerInterface::supportsNormalization | public | function | Checks whether the given class is supported for normalization by this normalizer. | 18 |
UuidReferenceInterface::getUuid | public | function | Get the uuid from the data array. |