Problem/Motivation

\Drupal\paragraphs\ParagraphsBehaviorBase::buildBehaviorForm() always returns at least a default container which results in additional markup for any enabled behavior plugin. This happen even though a behavior plugin has no behavior form.

Proposed resolution

Return an empty array in \Drupal\paragraphs\ParagraphsBehaviorBase::buildBehaviorForm().

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 behavior-form-3002419-2.patch474 bytesaheredia

Comments

mbovan created an issue. See original summary.

aheredia’s picture

StatusFileSize
new474 bytes
aheredia’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: behavior-form-3002419-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

aheredia’s picture

I think fail is not related with the patch

aheredia’s picture

Status: Needs work » Needs review