Drupal is a registered trademark of Dries Buytaert

Makes it easy to create tabs alongside the Content » Overview sub-tab for different states of content moderation ("In progress" for drafts, "Needs signoff" for content at the in review state, etc.) and optionally replace the Moderated content tab entirely.

Features

  • While configuring a workflow state, set whether it should have a tab, what the tab title should be, its weight for placing in the Content submenu, and what View it should go to. I hear rumors – not from anybody willing to go on the record (*cough* Louis *cough*) – that it is possible to configure the right parent menu item and make a dummy menu item and do an incantation to do this solely with configuration, and to that i respond with this pile of code that Just Works™
  • (Present but not auto-configured yet) A fallback, non-Views listing for each configured workflow state because core's Content Moderation module does but we know y'all are going to use Views.
  • (Not implemented yet) Setting to remove the "Moderated content" tab.

Post-Installation

  • Go to Configuration » Workflow » Workflows at /admin/config/workflow/workflows
  • Edit a workflow state (create some if you do not have any!) The workflow must be of the Content Moderation type but there is a good chance that is all you have enabled to provide workflow types.
  • Toggle or checkmark "Enable tab"
  • Set the name you want for this tab (defaults to the State label).
  • Set the view route and/or override the fallback non-view route.
  • Press save
  • Repeat for each content moderation workflow state you want a tab for

Additional Requirements

This module requires Drupal core's Content Moderation module be enabled. That module will create an editorial workflow by default, unless you install this module by using a recipe that substitutes the workflow you really want, like the Editorial workflow for Drutopia.

Workflow Buttons and Trash Workflows modules are great complements to this module.

Editorial workflow for Drutopia will install both those modules, this module (Content Moderation Tabs), and an editorial workflow that complements them all well.

Similar projects

None known, but "Drupal moderated content tabs" and "workflows states tabs Drupal" are not the easiest words to search for, even browsing all full and sandbox projects on Drupal.org for those words. Maybe should have searched for "moderation states menu items"? Anyway let us know if there is something else out there.

Supporting this Module

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

Community Documentation

Docs help is always welcome! But for the moment this page is it.

Credits

This module was torn from Trash Workflows at the same time that module was being ejected from Workflow Buttons.

The tutorial by HashBangCode's Phil Norton on Adding Third Party Settings to existing Drupal configuration entities has been huge in directing this module toward a much better user experience than a separate settings page. (Even though we did not end up using third-party settings.)

Activity

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

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Aug 8, 2025
1.0.x-dev Dev Aug 8, 2025