scheduled_publish
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:doUpdateto 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.