Problem/Motivation

In Drupal 9.3.0 all config is sorted according the order of the keys in configuration mapping. During config installation it is assumed that key order is correct.

Steps to reproduce

  • Create a entity browser entity that uses dropzonejs via the UI.
  • Add this configuration to a module or install profile
  • Notice the order change if you re-export the config after an installation.

See #3255280: Fix entity browser widget plugin configuration so configuration doesn't not change after install for the upstream issue.

Proposed resolution

Fix things that extend \Drupal\entity_browser\WidgetBase::defaultConfiguration() to ensure submit_text and auto_select come first.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3255284-2.patch2.4 KBalexpott

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
StatusFileSize
new2.4 KB

chr.fritsch’s picture

Status: Needs review » Fixed

Looks good. Thank you

Status: Fixed » Closed (fixed)

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