Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module automatically assigns a workflow state, such as draft or published, to existing content when a content type is configured with content moderation. This ensures that older content appears correctly in views filtered by workflow state.

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!!

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev 10–11 Aug 26, 2025