Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Follow-up to #3034897: Sort list of enabled styles in paragraphs_collection.settings alphabetically
Proposed resolution
Remove the custom code and use orderby
sequence schema attribute to automatically sort enabled styles.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#5 | 3120599-5-3-interdiff.txt | 796 bytes | mbovan |
#5 | 3120599-5.patch | 2.53 KB | mbovan |
| |||
#3 | 3120599-3-2-interdiff.txt | 505 bytes | mbovan |
#3 | 3120599-3.patch | 1.75 KB | mbovan |
#2 | 3120599-2.patch | 1.75 KB | mbovan |
|
Comments
Comment #2
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedA patch that fixes Paragraphs Collection sequence schema lists.
Comment #3
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedChanged ordering by value for
available_grid_layouts
, sinceDrupal\paragraphs_collection\Plugin\paragraphs\Behavior\ParagraphsGridLayoutPlugin::submitConfigurationForm()
does not explicitly set keys.Comment #5
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedBy looking at how we are saving
available_grid_layouts
I think we should update the tests instead.Comment #7
BerdirNice, committed.