By amateescu on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.7.x
Introduced in version:
8.7.0
Issue links:
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