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.

Comments

alt.local created an issue. See original summary.

alt.dev’s picture

Here 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.

alt.dev’s picture

Status: Active » Needs review
alt.dev’s picture

Also, 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.

  • mpriscella committed aa72d89 on 8.x-1.x authored by alt.local
    Issue #3178097 by alt.local: Require indicator is missing for "...
mpriscella’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.