Skip to content

Commit ee1cdf4

Browse files
Added uuid in entity key for JSONAPI to get the link attribute (#896)
1 parent b31147c commit ee1cdf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Entity/ApiProduct.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
* singular = "@count API",
3737
* plural = "@count APIs",
3838
* ),
39+
* entity_keys = {
40+
* "uuid" = "uuid"
41+
* },
3942
* config_with_labels = "apigee_edge.api_product_settings",
4043
* handlers = {
4144
* "storage" = "\Drupal\apigee_edge\Entity\Storage\ApiProductStorage",

0 commit comments

Comments
 (0)