3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Use UUIDs as the geometry ID property instead of Drupal internal ID.

This commit is contained in:
Michael Stenta 2021-08-30 20:33:11 -04:00
parent 8a1e640f32
commit 0424fbbd84

View file

@ -65,7 +65,7 @@ class ContentEntityNormalizer implements NormalizerInterface, SerializerAwareInt
// Build geometry properties.
$properties = [
'id' => $entity->getEntityTypeId() . '-' . $entity->id(),
'id' => $entity->uuid(),
'name' => htmlspecialchars($entity->label()),
];