Change record status: 
Project: 
Introduced in branch: 
8.7.x
Introduced in version: 
8.7.0
Description: 

Some modules need to act before an entity is loaded, and swap out the default revision with a different one. For example, the Workspaces module swaps the default revision with a workspace-specific revision, if one exists.

For this use case, a new hook_entity_preload() has been added in Drupal 8.7.0.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done
Details: 
Progress: