Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Content Janitor automatically unpublishes stale content on your Drupal site. It allows administrators to create rules that unpublish content based on configurable date thresholds during cron runs, ensuring content stays fresh and relevant.

# Content Janitor

A robust, lightweight Rules Engine for automated content remediation and unpublishing in Drupal 10/11.

Content Janitor allows site administrators to create dynamic rules that automatically unpublish stale content during routine Cron runs. Instead of relying on manual content audits, this module ensures your site's content remains fresh and relevant based on configurable date thresholds.

## ๐Ÿš€ Features

* **Configuration Entities:** Built on modern Drupal 10/11 Config Entities. All rules are fully exportable to your site's `config/sync` directory for seamless environment deployments.
* **Dynamic AJAX UI:** The "Add Rule" form dynamically fetches and filters Date and DateTime fields based on the selected Content Type.
* **Core & Custom Field Support:** Intelligently handles both core integer timestamps (e.g., `created`, `changed`) and custom ISO-8601 string fields (e.g., `field_meeting_date`).
* **Cron-Powered Batching:** Processes unpublishing tasks quietly in the background during standard Cron runs.
* **Batch Limits:** Configurable limits per rule to prevent memory timeouts on massive datasets.
* **Revision Tracking:** Automatically creates a new revision with a log message when a node is unpublished by the Janitor.

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

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

Releases

Version Type Core Release date
1.0.x-dev Dev 10โ€“11 Jul 8, 2026