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:
parent
8a1e640f32
commit
0424fbbd84
1 changed files with 1 additions and 1 deletions
|
@ -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()),
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue