Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module displays a clear warning when editors view unpublished content, draft revisions, or non-default revisions. It helps prevent confusion between draft and live content by showing a visual notice on both frontend and administrative pages.

Unpublished Content Notice shows a clear warning when editors view unpublished content, draft revisions, or non-default revisions, helping prevent confusion between draft and live content.

Features

Unpublished Content Notice helps editors and site administrators quickly recognize when they are viewing content that is not the published public version.

Key features:

  • Displays a visible notice for unpublished content.
  • Optionally displays a notice for draft or non-default revisions.
  • Supports configurable notice text.
  • Allows notices to be enabled per entity type.
  • Provides permissions to control who can see the notices.
  • Works on both frontend and administrative entity pages.
  • Supports Drupal 10.3, Drupal 11, and Drupal 12.

This module is useful for editorial teams, moderated publishing workflows, staging reviews, and sites where users may accidentally confuse unpublished or draft content with the live version.

Post-Installation

After installing the module, go to: Configuration > Content authoring > Unpublished Content Notice or visit: /admin/config/content/unpublished-content-notice

From the settings page, you can:

  • Select which entity types should show notices.
  • Enable or disable notices for non-default revisions.
  • Customize the unpublished content message.
  • Customize the draft/non-default revision message.

You should also review permissions at: People > Permissions
Grant the View unpublished content notice permission to the roles that should see these notices, such as editors, content managers, or administrators.

Additional Requirements

This module does not require any external libraries or third-party services.

Required:
- Drupal core
- PHP version supported by the target Drupal version

Optional Drupal core modules that pair well with this module:
- Content Moderation
- Workflows

These are not required, but they are commonly used on sites where draft and published revisions need to be clearly distinguished.

Recommended Drupal core modules:
- Content Moderation: Useful for editorial workflows with draft, review, and published states.
- Workflows: Useful when defining custom editorial states and transitions.

Recommended contributed modules:
- Scheduler: Helpful for sites that schedule content publishing and unpublishing.
- Diff: Helpful for comparing draft and published revisions.

Similar projects

There are many Drupal modules related to content moderation, publishing workflows, and revision management, but this module is intentionally focused on one small problem: showing a clear notice when a user is viewing unpublished or non-default content.

Unlike workflow management modules, Unpublished Content Notice does not create states, transitions, or publishing rules. It only provides an editorial visibility notice so users can better understand what version of content they are viewing.

Supporting this Module

Development and maintenance are supported through Drupal.org issue queue contributions.

You can support this module by:
- Reporting bugs.
- Suggesting improvements.
- Testing new releases.
- Contributing patches or merge requests.
- Helping improve documentation.

Activity

Tracked releases
2
Tracked since
Jun 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jun 28, 2026
1.0.x-dev Dev Jun 28, 2026