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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3324293-2-plugin-definitions-are-getting-cached.patch | 1.83 KB | aronne |
Comments
Comment #3
aronne commentedAttaching a patch that fixes the aforementioned bug.