- πΊπΈUnited States smustgrave
Believe the types is ordered alphabetically. Wonder if this is still needed?
- Status changed to Active
over 1 year ago 4:30pm 11 August 2023 - πΊπΈUnited States mlncn Minneapolis, MN, USA
I would say this is still needed. Modifying this page should be easy (put the most-used content type at the top of the page regardless of alphabetical order, remove the content type that people can create but should only do as a reference from another content type), and it's really hard (because of my reporting that bug!).
There is a solution in contrib (Drupal 7 and modern Drupal) that makes it easy again, providing a separate menu to power a replacement "Add content" page:
- Status changed to Closed: works as designed
about 1 month ago 1:31am 25 March 2025 - π¦πΊAustralia acbramley
I'm not sure why you'd need to reorder the admin/structure/types page, but this should already be possible by overriding the class for the NodeType config entity and implementing the sort method. ConfigEntityListBuilder calls this when it loads the entities. By default it sorts alphabetically.
Alternatively you could add a custom view builder and override the load method.
I don't think we need to go with any more complicated core solution.