Move Workflow Buttons Trash submodule to new separate project Trash Workflows

Created on 6 August 2025, 15 days ago

Problem/Motivation

The Trash submodule (provides soft-delete, recoverable "deleted" nodes from the trash workflow state) never required Workflow buttons itself to be enabled.

The modules can still work great together but the addition of a 'trash' workflow state and the increasing scaffolding around it to make a good user experience, of which Workflow buttons is but one (optional) part, should have a full independent project to grow in. And Workflow buttons module is free from any Trash-specific headaches.

Proposed resolution

The Workflow buttons Trash submodule is being moved to Trash Workflows: Recoverable delete powered by core content moderation β†’

If you are using Workflow Buttons Trash, install Trash Workflows instad:

Remaining tasks

Add any Workflow buttons maintainers that want to come along to https://www.drupal.org/project/trash_workflows β†’ 's maintainers!

User interface changes

API changes

Data model changes

🌱 Plan
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mlncn
    • mlncn β†’ committed 4e8faa32 on 2.0.x
      Define lifecycle for workflow_buttons_trash to be obsolete...
  • πŸ‡―πŸ‡΅Japan ultrabob Japan

    This is a great idea! I have not had the need or opportunity to work with the submodule, so I don't think I'd be very valuable as a co-maintainer of the new module, but I agree with your logic here. It may be worth surveying the other trashcan-type modules currently existing and seeing if the new module will provide something unique. It could be that adding a link to a module that provides this functionality for current users of the submodule is enough.

  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

    Thanks ultrabob! Yeah, the Trash module is really the only contender out there now i think (and it is in Starshot / Drupal CMS) but it still has some edge cases with … content moderation … that have some sites avoiding it right now: ✨ Trash is not compatible with Content Moderation Active

    Probably Trash will become 'the' solution and maybe even get into Drupal core, but building on Workflows to introduce a 'deleted' (trash) state still seems more core-compatible and future-safe right now.

Production build 0.71.5 2024