Drupal is a registered trademark of Dries Buytaert

block_condition_published

144 sites No security coverage
View on drupal.org

A module that provides a condition plugin for blocks. Allows to display block on pages depending on publishing status of the content. For example, a block can be shown for editors on unpublished pages only.

Features

Supports both classic Published/Unpublished status and workflows (Review, Draft... etc.) as well. In case of workflows, all states such as Draft, Unpublished, Review... are treated as unpublished, state Published is treated as published content.

Node entity type is supported.
Taxonomy term published state is supported since 1.0.0-beta1 release.

Post-Installation

Go to your website's block layout settings, choose a block you want and set condition Published State for it.

Additional Requirements

None.

N/A.

Similar projects

Supporting this Module

tbd

Community Documentation

tbd
Drupalpod
Simplytest.me

Activity

Total releases
1
First release
Mar 2025
Latest release
11 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-beta1 Pre-release Mar 19, 2025