From ee1cdf45d045420cd0544341048d5258433496c1 Mon Sep 17 00:00:00 2001 From: Shishir <75600200+shishir-intelli@users.noreply.github.com> Date: Mon, 31 Jul 2023 15:44:09 +0530 Subject: [PATCH] Added uuid in entity key for JSONAPI to get the link attribute (#896) --- src/Entity/ApiProduct.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Entity/ApiProduct.php b/src/Entity/ApiProduct.php index 01d7d0ce2..427258304 100644 --- a/src/Entity/ApiProduct.php +++ b/src/Entity/ApiProduct.php @@ -36,6 +36,9 @@ * singular = "@count API", * plural = "@count APIs", * ), + * entity_keys = { + * "uuid" = "uuid" + * }, * config_with_labels = "apigee_edge.api_product_settings", * handlers = { * "storage" = "\Drupal\apigee_edge\Entity\Storage\ApiProductStorage",