Reviewed & tested by the community
Project:
Conditional Fields
Version:
4.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2026 at 08:14 UTC
Updated:
29 Sep 2026 at 09:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mortona2k commentedComment #4
jesus_md commentedConfirmed and tested.
Without the MR, the list at
/admin/structure/conditional_fieldsfollows the entity type machine names, so the labels come out in an odd order: "Content" ends up after "Custom menu link", and "URL alias" comes before "Shortcut link". With the MR applied it's alphabetical by label.uasort()keeps the keys, so each link still goes to the right bundle list. Casting the label to string means it sorts on the translated label.Tested on:
Before:
After:
Comment #5
jesus_md commented