Problem/Motivation

In some cases it's useful to show disabled submit buttons for the disallowed transitions alongside the enabled ones for allowed transitions.

Proposed resolution

Add a dedicated setting, add fetchers for disabled transitions and enabled+disabled transitions for the Workflow plugin and the StateItem field type, adjust the state item form and the field formatter to make use of the new setting.

CommentFileSizeAuthor
#3 3624192-3.patch10.27 KBts.ag
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ts.ag created an issue. See original summary.

ts.ag’s picture

StatusFileSize
new10.27 KB

Attaching a static patch from MR 44. We've been using this in production together with Commerce for a while now, to show disallowed transitions for orders.

ts.ag’s picture

Status: Active » Needs review