This project is not covered by Drupal’s security advisory policy.
# 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.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Administration tools, Automation, Content editing experience
- Created by hailey gaylor on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
