Drupal is a registered trademark of Dries Buytaert

block_expiry

No security coverage
View on drupal.org

Block Expiry allows site builders to control block visibility based on time by adding optional start and end date fields to block configuration.

Once enabled, any block can be configured to:

  • Appear only after a specified start date
  • Automatically disappear after a specified end date
  • Be visible only within a defined time window

If no dates are set, the block behaves normally and remains always visible.

Features

  • Adds start and end date controls to all blocks
  • Works with custom blocks, Views blocks, and core block plugins
  • No cron dependency
  • Uses proper access checking (blocks are not rendered when expired)
  • Timezone-aware and cache-safe
  • Compatible with Drupal 10 and Drupal 11

Typical use cases

  • Temporary announcements or banners
  • Campaign or event-related blocks
  • Maintenance notices
  • Time-limited promotions or alerts

Activity

Total releases
1
First release
Jan 2026
Latest release
1 month ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Jan 28, 2026