Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

Features

This module would provide site administrators with a simple way to set an expiration date on content nodes. When the expiration date is reached, the module would automatically unpublish the content and optionally notify the content author.

This module addresses a common problem for sites with high content volume (e.g., news sites, blogs, or event listings) by automating content cleanup and preventing outdated information from lingering on the site.

Post-Installation

### 1. Add an Expiration Date Field

First, you need to add a dedicated field to your content types to store the expiration date.

* Navigate to **Structure** → **Content types**.
* Click **Manage fields** next to the desired content type (e.g., "Article" or "Page").
* Click **+ Add field**.
* Select **Date** or **Date and time** as the field type.
* Give it a machine name, such as **`field_expiration`**. Then, click **Save and continue**.
* On the next screen, you can configure the field's settings. Click **Save field settings** to proceed.

---

### 2. Expose the Field on the Content Form

Next, make sure the field is visible for content editors to use.

* While on the content type's page, click the **Manage form display** tab.
* Locate the field you just created (**`field_expiration`**) in the list.
* Ensure its widget is set to an appropriate date picker (e.g., "Date and time").
* Drag the field to your preferred position on the form.
* Click **Save**.

---

### 3. Configure the Content Archiver Module

Finally, tell your **Content Archiver** module which field to use for the expiration date.

* Go to **Administration** → **Configuration** → **Content** → **Content Archiver**.
* In the settings form, find the option for "Expiration field machine name."
* Enter the machine name of the date field you created (e.g., **`field_expiration`**).
* Click **Save configuration**.

Activity

Total releases
1
First release
Sep 2025
Latest release
7 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Sep 4, 2025