I've been working on decoupled Drupal projects for a few years now (Drupal as the back end for content editing, with an Angular front end or a mobile app, for example); in those cases you can use JSON:API or custom endpoints. Since…
The new core Navigation module (the vertical sidebar that replaces the old horizontal toolbar) displays an icon in front of each top-level entry. For core entries, everything is taken care of. But as soon as a custom module adds its own…
Since Drupal 11.1, core ships with an Icon API: you declare an icon pack in a YAML file, and a Twig function renders the icons anywhere (templates, SDC, render arrays). On the back-office side, the contrib module UI Icons adds what core…
This is nothing new in Drupal 8: every part of a page is rendered with a template. There is a whole bunch of base templates: html.html.twig, which renders the doctype and the content of the <head> tag, and opens and closes the <body> tag…