Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Published State Indicator

2 sites No security coverage
View on drupal.org

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.

Activity

Total releases
1
First release
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.0.1 Stable Feb 3, 2025