Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Published State Indicator

No security coverage Under active development 2 sites

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.

Drupal 10–11

Ask your assistant about Published State Indicator

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
May 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 10–11 Feb 3, 2025
1.0.x-dev Dev 10–11 May 15, 2024
1.0.0 Stable 10–11 May 15, 2024