Skip to content

Commit

Permalink
Added uuid in entity key for JSONAPI to get the link attribute (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli authored Jul 31, 2023
1 parent b31147c commit ee1cdf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Entity/ApiProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ee1cdf4

Please sign in to comment.