Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Scheduled Publish

1,473 sites Security covered
View on drupal.org

This module allows you to schedule the publishing or unpublishing of content and media. You can add a "Scheduled Publish" field to your content types and specify a future date for a moderation state change.

Scheduled Publish

This module contains a field type for nodes and medias to update the moderation state of some contents via a cronjob.

Usage

  • Enable the workflow for your entity type.
  • Add a field of the type "Scheduled publish" to a entity bundle.
  • Specify the moderation state and date.
  • Make sure to run the cronjob of Drupal at desired date.
  • You can use drush scheduled_publish:doUpdate to run the updates manually

Please notice:

  • Do not set the Scheduled Publish field as a required field. Since it's value will be set to "null", after cron has made the transition, the field will fail to update if it is required.

Screenshots:

Supported Versions

All new development will be on the 4.x branch, which drops "8.x" from the versioning, and adopts semantic versioning.
From 4.0.0, we only support modules that Drupal's GitLab CI tests against, so support for Drupal 8 and below Drupal 9.5 have been dropped. This should ensure that changes have been tested the versions of Drupal the module supports.
When GitLab CI moves it's primary Drupal version to 11.0, the "previous major" will test against 10.3, but support for Drupal 9 will no longer be possible.

The 3.x branch currently claims to support Drupal 8.8+, 9.0+, 10.0+, and 11.0+, but if you're trying to run against Drupal 8, good luck! This version will only be updated if there is a security issue, and only until end of 2024. We recommend moving to 4.x as soon as possible. Version 4.0.0 is identical from 8.x-3.11 apart from dropping support for Drupal 8.

Versions prior to 3.x are unsupported.

Activity

Total releases
3
First release
Sep 2025
Latest release
9 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
4.2.x-dev Dev Sep 20, 2025
4.1.0 Stable Sep 20, 2025
4.1.x-dev Dev Sep 20, 2025