This module allows to set an optional preview on any content entity type and bundle as it's currently implemented for nodes. The code is based on the one in the core Node module.

Note from the maintainer:
Currently there is still one unresolved bug (when back from the preview, the entity form values are not properly populated).
Let me know if anyone wishes to work on this further.

Both the preview and entity_preview namespaces are taken or reserved so we have this strange one instead. When this is finalised, it should probably go for the "preview" namespace as in the module files.

Supporting organizations: 
Drupal 10 version, finilizing stable release

Project information

Releases