EntityReference Workbench
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
EntityReference Workbench adds support for Workbench Moderation to Entity Reference fields.
Contents
The module provides two EntityReference (ER) formatters extending the basic ER formatters by making them aware of the Workbench Moderation status on the carrying node. They can only be used on ER fields borne by nodes and targeting nodes.
Label (WBM)
extends the ERLabel
formatterRendered Entity (WBM)
extends the ERRendered Entity
y formatter
Using these formatters, pages meant for public use and displaying the published version will carry the published version of referenced content, while pages used by the editorial team and displaying the current version will carry the latest draft of referenced content.
Operation
When the carrying node entity is being displayed as the "current" (aka "draft") revision, this information is passed to the formatters, and they load and display the information for the "current" (last) revision of the target node entity, and vice-versa for the "live" (published) revision.
Sandbox ?
This module has been published as a sandbox instead of a full module, to allow its eventual inclusion directly within Workbench Moderation if issue #2305473: Mention existing EntityReference support on project page is accepted.
Sponsors
Initial development has been sponsored by Actency.