Published State Indicator
This module adds a display formatter to entity reference fields that shows the published or moderation state directly next to the entity's title. This helps editors quickly see the status of content within lists, especially when using complex workflows. You can customize the appearance of these state labels, including their colors and font sizes, through the user interface.
This module provides a entity reference field display formatter to append a label to the entity title displaying the published/moderation state. Ideally used in conjunction with the Workflows module it also supports the basic Core Published/Unpublished states.
This is particularly useful in sites that use complex workflows with lists of content where editors need to visually see the moderation status of each entity.
Features
- Control label display for each field.
- Adjust the font size and label colors from the UI.
- Enable/disable labels for published entities.
- Easily restyle labels by overriding the module css styles.
Post-Installation
Under 'Manage display' for an entity reference list field select 'Label & Published state' from the available format options.
From Configuration -> User Interface -> Published State Indicator set the colors and font size for each moderation state.
Labels can be further customized by overriding the class for each label.