Views: 1227
Number of votes: 3
Average rating:

Content type sorting initializationmodule

Earlier this year I created a plugin to give admins / editors a quicker way to change sort order of content types (post here). While it works I realialised that most of the time I really just wante to have the content types sorted in alfabetical order.

So I did a initializationmodule to accomplish just that. It's really easy and the only thing you need to decide is if you want to sort the types on name or localizedname.

You can get the code over at my gist.

Jul 02, 2016

Please login to comment.