Drupal is a registered trademark of Dries Buytaert

Give all existing content in content types newly configured to use a content moderation workflow a draft or published state (based on their unpublished or published status).

Features

This is really only needed for listing pages, where you can filter content by moderation state and will now expect to / be expected to instead of filtering by published / unpublished; the bigger problem is that once a view is filtering by workflow state any content that does not have a workflow state no longer appears in the listing. For this reason it is important to retroactively add a state from Drupal core's Workflows module for each piece of content when the content type is configured to have a

Post-Installation

Visit config page to run batch process or run drush command.

Additional Requirements

  • Content moderation tabs works great with content moderation workflows, especially when this module has put all existing content into one of the states that can show up in a tab (tabs like "Draft", "In review", "Published").

Similar projects

You should be able to do something similar, but manually, with Moderated Content Bulk Publish for getting old non-workflow content into workflows, but it is not automatic (need to filter by published and apply a bulk change, one page of a view at a time, and then filter by unpublished— and here it was not clear how to set things to the Draft state.

Of course really all you need to do is filter content by moderated content is EMPTY and then "Save" all that content, so Views Bulk Operations on its own should do it.

Supporting this Module

You can support Agaric's overall contributions to Drupal and a bit beyond by supporting Drutopia at opencollective.com/drutopia. Thanks!!

Activity

Total releases
1
First release
Aug 2025
Latest release
6 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Aug 26, 2025