Time-Based Condition
The Time-Based Condition module allows you to display content based on specific times and dates. This is useful for time-sensitive content like promotions or events, and it integrates with Drupal's caching system for performance.
The Time-Based Condition module provides a flexible solution for displaying content based on specific time frames. This module is perfect for users new to Drupal who want to control the visibility of blocks or other content types based on dates and times. By leveraging Drupal's caching system, it ensures optimal performance while dynamically showing or hiding content according to predefined schedules. This module is ideal for time-sensitive content like promotions, events, or seasonal messages.
Time-Based Condition works internally via the Drupal\Component\Datetime\TimeInterface, which uses the servers time.
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
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha3 | Pre-release | 10–11 | Feb 6, 2026 | ||
| 1.0.0-alpha2 | Pre-release | 10–11 | Oct 25, 2025 | ||
| 1.x-dev | Dev | 10–11 | Oct 12, 2025 | ||
| 1.0.0-alpha1 | Pre-release | 10–11 | Jul 31, 2025 |