
Editorial illustration; the workflow and interface are representative and are not a live Drupal installation.
Publishing in Drupal feels effortless when one developer or content manager writes, reviews, and hits save. The moment you hand a corporate or government portal over to subject-matter experts, corporate communications editors, and legal reviewers, the standard Published / Unpublished checkbox breaks down. Giving everyone publish rights removes your safety net; forcing teams to email Word documents back and forth creates version chaos.
Drupal’s core Content Moderation module (paired with Workflows) solves this by introducing states and transitions around node revisions. Its killer feature is separating the default published revision from pending forward revisions. Visitors continue reading the approved live page while editors draft, review, and revise an upcoming update in the background.
Start With Governance, Not Workflow Labels
Before enabling modules with drush en content_moderation workflows, sit down with the editorial team and map out real-world accountability. Ask who is allowed to draft content, who verifies facts and accessibility, who holds final sign-off, and—most importantly—what happens during an urgent correction when the main approver is on leave.
Keep the initial state machine as small as possible. For most teams, Draft → In Review → Published → Archived covers 90% of daily operations. Only introduce extra states like Legal Review when someone can clearly name the team responsible for clearing that queue and what SLA they follow. Every state name should describe a concrete action (Needs Review, Approved for Release) rather than a vague status (Almost Done).
Configuring Revisions, Transitions, and Least-Privilege Roles
Content Moderation depends entirely on entity revisions. Make sure Create new revision is enabled on every content type you attach to the workflow, and export your workflow configuration (drush cex) so states and transitions live cleanly in version control under workflows.workflow.editorial.yml.
When mapping permissions under /admin/people/permissions, resist the urge to test only with User 1 or the Administrator role—admin accounts bypass granular transition checks and hide misconfigurations. Instead, create test accounts for real roles:
- Content Author: Can create drafts, edit their own content, and move items from
DrafttoIn Review. They should not have theUse Editorial transition Publishpermission. - Reviewer / Editor: Can view unpublished revisions (
View any unpublished contentorView latest version), return items toDraftwith a mandatory revision log message explaining what needs fixing, and move items toApprovedorPublished.
If a workflow only models the happy path (Draft to Published) and forgets the rejection path (In Review → Draft), reviewers will end up messaging authors on WhatsApp or Slack to fix typos, defeating the audit trail.
Checking Previews, Views, Search, and CDN Caching
Enabling moderation on an established Drupal site can surface subtle bugs in places you might not check at first glance:
- Views listings: Confirm your public news or announcement Views filter by
Published(orDefault revision = True) rather than accidentally exposing pending revisions or broken links. - Search and JSON:API: Check that Search API indexes only the default published revision and that decoupled endpoints (
/jsonapi/node/...) do not leak unpublished forward revisions to anonymous users. - Edge caching and Cloudflare: When a publisher promotes a forward revision to
Published, Drupal invalidates the node’s cache tags (node:123). If your site sits behind Cloudflare or Varnish, verify that your purge integration fires on transition—otherwise visitors may still see the previous revision until the edge TTL expires.
Always verify live-versus-pending behaviour with two browser sessions: edit a published page, save a new Draft revision, and open the public URL in an incognito window to confirm visitors still see the older approved version while logged-in editors see the Latest version tab.
When a Multi-State Workflow Is Overkill
Content Moderation adds cognitive load, extra tabs, and permission complexity. If you are running a small company blog or a two-person marketing site where the same person writes and publishes, skip Content Moderation. Standard Drupal revisions plus a solid backup strategy will serve you better without slowing anyone down.
Likewise, check the maintenance status and Drupal core compatibility of any contributed dashboard modules (such as Workbench or Moderation Dashboard) before adding them to composer.json. Core Content Moderation already handles the heavy lifting cleanly.
Related Drupal Guides
- Drupal Media Library: Make Reuse Easier Without Losing Control
- Drupal JSON:API: When the Core Module Fits a Decoupled Site
- Drupal Taxonomy: Design Vocabularies Before You Add Hundreds of Terms
A good moderation workflow makes editorial responsibility visible without turning every typo fix into bureaucracy. Build the smallest state machine your team actually follows, test it as a non-admin editor, and document the emergency bypass rule before launch.