Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292216

Move sorting of book.settings.allowed_types to frontend

$
0
0

Follow-up for #111715: Convert node/content types into configuration

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


Viewing all articles
Browse latest Browse all 292216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>