Stop assuming workflow states when Content Moderation is on

Created on 12 October 2023, about 1 year ago

Problem/Motivation

Currently when Content Moderation is on, we assume there is an archived and a draft workflow states.
https://git.drupalcode.org/project/trashcan/-/blob/1.0.x/src/TrashcanHan...

Since these can be arbitrary, if these states don't exist the module won't work properly.

Steps to reproduce

Proposed resolution

Ideally, there could be an interface / config form where admins could select these values per site.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain marcoscano Barcelona, Spain

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

Comments & Activities

Production build 0.71.5 2024