Quantcast
Viewing all articles
Browse latest Browse all 291765

Make views handlers for node type to use proper methods to display node type fields

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

Problem/Motivation

Currently there's a mess of usage check_plain(), $this->sanitizeValue(), node_type_get_types() and t() to display settings and render human name of the node-type

Proposed resolution

- implement public method to get list of node types sorted by localized label()
- always use $type->label() with language injected to render node type human name

API changes

no


Viewing all articles
Browse latest Browse all 291765

Trending Articles



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