Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291053

Track changes for entity property changes and make available to hooks

$
0
0

If an entity is loaded then saved, assuming we're using the Entity API, we can track exactly what's being changed via the setters. This would allow us to present those to hook implementations, so it's easy to tell if the entity moved from published to unpublished, or if the title changed etc. without messing about loading from the database / $entity->original etc.


Viewing all articles
Browse latest Browse all 291053

Trending Articles