Problem/Motivation
Related to https://www.drupal.org/project/paragraphs/issues/3012053, we found out that settingsSummary() in ParagrapsStylePlugin returns an imploded string with the style plugins.
Proposed resolution
We need to return an array with rendered strings in order to properly display the settings in the paragraphs summary.
This should also be done for ParagraphsGridLayoutPlugin. (not sure about ParagraphsLockablePlugin?)
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | interdiff-3029996-7-9.txt | 5.01 KB | johnchque |
| #9 | 3029996-return-arrays-in-settings-summary-9.patch | 10.31 KB | johnchque |
| #7 | interdiff-3029996-5-7.txt | 508 bytes | johnchque |
| #7 | 3029996-return-arrays-in-settings-summary-7.patch | 4.67 KB | johnchque |
| #5 | interdiff-3029996-3-5.txt | 3.93 KB | johnchque |
Comments
Comment #2
sasanikolic commentedComment #3
sasanikolic commentedHere is the patch.
Comment #4
miro_dietikerAs discussed, we should figure out if we can pass up render arrays and let the parent renderer do its recursion job. We should avoid direct render() calls.
Comment #5
johnchqueUpdating the structure with the latest changes in Paragraphs.
Comment #7
johnchqueWe need to do this update after the last patch.
Comment #9
johnchqueThis should fix all tests.
Comment #11
berdirGreat, committed.