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
Some config entity properties have no explicit order for their sub elements this creates unnecessary diffs in CMI exports. Because the subelement vary in their order.
Two examples are #2350537: Enforce order of display of components in config export and #2350821: Sort views displays by display name
Proposed resolution
Apply explicit order to all values in a config entity during export to ensure minimal diff when working with git (or any other VCS).
Remaining tasks
Find issues and patch them.
User interface changes
None
API changes
None
Comments
Comment #1
webflo CreditAttribution: webflo commentedComment #2
webflo CreditAttribution: webflo commentedComment #3
webflo CreditAttribution: webflo commentedsee #2361539: Config export key order is not predictable for sequences, add orderby property to config schema