Populate WorkflowTransitionForm using a Widget, not directly with WorkflowTransitionElement

Created on 3 November 2015, over 9 years ago
Updated 22 February 2024, about 1 year ago

ATM, in 7.x-2.5 and 8.x-1.x, the Workflow Widget is created in two ways:
There is a need to override the workflow widget. ATM we need 2 methods:
- in Entity form, adding a widget, which adds an element. Change it via hook_widget_WIDGET_TYPE_form_alter();
- in the Workflow Transition Block, and Workflow history tab, using a form with an element. Change it via hook_FORM_TYPE_form_alter();
There is no hook_element_alter().

So, here is the task: populate the WorkflowTransitionForm, not directly with WorkflowTransitionElement, but via adding a Widget. Then we have 1 uniform DX.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands johnv

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024