Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
DataBaseStorageController::basePropertyDefinitions() currently has them that way, but I don't know if this makes sense. Do other ORM/entity systems do that, or do they treat identity keys as separate concepts from properties?
Comments
Comment #1
fagoMy take is that everything that get's stored with the entity has to be a property, so ids and uuids would have to be one as well. Looking at doctrine (tutorial) it also has a regular property for the id - it just adds some additional metadata to it.