Problem/Motivation
Currently book module does useless and fragile sorting of allowed types on per-language basis (BookSettingsForm::submitForm()
& book_node_type_update()
)
Proposed resolution
Store and use the array always keyed and implement sorting of localized node type labels only before render for settings and views plugins
API changes
changes a structure of stored settings
Comments
Comment #1
alexpottI don't think we should do this... the reason for the sorting is so that only when you diff CMI files we only see differences that matter.
Comment #2
alexpottSee #1933548: Book allowed_types settings repetitive and in under certain conditions can change unexpectedly
Comment #3
alexpottActually due to #1933548: Book allowed_types settings repetitive and in under certain conditions can change unexpectedly going to won't fix...
Comment #4
klonos