Problem/Motivation

When altering a form which contains paragraphs fields, plugin definitions get cached and it causes the FormAlter plugins not to get discovered properly.

Steps to reproduce

- Alter a form including a paragraphs field.
- Create both FormAlter and ParagraphsFormAlter plugins.
- The FormAlter plugin could get ignored

Proposed resolution

Clear cached definitions before fetching plugins.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Comments

aronne created an issue. See original summary.

  • 956ba8e committed on 8.x-1.x
    Issue #3324293 by aronne: Plugin definitions are getting cached
    
aronne’s picture

Status: Active » Fixed
StatusFileSize
new1.83 KB

Attaching a patch that fixes the aforementioned bug.

Status: Fixed » Closed (fixed)

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