Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Part of the Workbench ecosystem · 10 projects

This module helps migrate content moderation configurations from the Workbench Moderation module to Drupal core's Content Moderation and Workflows modules. It automates the creation of workflows, states, and transitions, and associates content with the new moderation system. Administrators will need to manually update any views filters and may need to re-implement custom moderation state behaviors.

AI disclosure

This module was developed with assistance from an LMM but each line was reviewed

Goal

Migration for a Drupal 11+ switching from workbench_moderation to core's content_moderation and workflows module.

# Migration id Result 1 wbm2cm_workflow_scaffold Creates one empty workflow per signature bucket (type: content_moderation). Largest bucket claims editorial; the rest get editorial_1, editorial_2, … 2 wbm2cm_workflow_states Writes each WM ModerationState into every workflow whose signature contains it. 3 wbm2cm_workflow_transitions Writes each WM ModerationStateTransition into every workflow whose signature contains BOTH endpoints, coalescing transitions that share a target state into a single CM transition with multiple from values. 4 wbm2cm_workflow_entity_types Opts every WM-enabled bundle into its signature's workflow (triggers CM to attach its moderation_state field). 5 wbm2cm_content_moderation_state For every revision of every moderated entity, creates a matching ContentModerationState attached to the workflow the revision's bundle belongs to.

Usage

See README.md

What it does NOT do

Left to the admin on purpose:

  • View filter swap. Views using WM's Latest revision filter
    need to be updated to CM's Moderation state filter. Edit the
    affected views by hand.
  • Custom ModerationState subclasses (sites that extended WM's
    state plugin) have no CM analogue. The migration reads them as
    plain states — additional custom behavior does not carry over.
Drupal 11 · not 10

Ask your assistant about Workbench Moderation to Core Moderation

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • Migrate Plus
  • Migrate Tools
  • content_moderation Drupal core
  • migrate Drupal core
  • workbench_moderation Drupal core
  • workflows Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0 Stable 11 Aug 26, 2026
1.0.x-dev Dev 11 Aug 26, 2026