Problem/Motivation
The require_on_publish module doesn't add an indicator to the paragraph's EXPERIMENTAL widget.
Steps to reproduce
Select "Paragraph EXPERIMENTAL" as a widget for the paragraph field.
Proposed resolution
Add the same logic that module has in the require_on_publish_field_widget_entity_reference_paragraphs_form_alter() method to a require_on_publish_field_widget_paragraphs_form_alter() method.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | add-indicator-to-paragraph-widget-3178097-4.patch | 1.83 KB | alt.dev |
| #2 | add-indicator-to-paragraph-widget-3178097-2.patch | 1.17 KB | alt.dev |
Comments
Comment #2
alt.dev commentedHere is a patch that adds an indicator to the paragraph's experimental widget.
The patch was created in contributing with @bohart so it would be great if he will get a credit as well.
Comment #3
alt.dev commentedComment #4
alt.dev commentedAlso, we found the issue that some paragraphs may not have the form element for the paragraph field, so we added an additional check for the form element.
Comment #6
mpriscella commented