Spun-off from #1919322: entity_load_unchanged() should be part of the storage controller.

The EntityStorageControllerInterface::loadUnchanged() method is used only to populate the $entity->original property. We want to encapsulate this logic in the controller and make $entity->original a defined field we can rely on everywhere.

Comments

fago’s picture

Status: Postponed » Closed (won't fix)

We already have a patch for #1480696: Move $entity->original to a separate hook argument - thus we should bring this home. I do not think it should be a registered fields, it's not stored, it's not computable - it's just temporary there and so does not qualify for an entity field. Thus, I think handling it as separate hook parameter is the right solution.

fago’s picture

Issue summary: View changes

Updated issue summary.