Skip to main content
Home drpl Drupal stuff for people
An opinionated, hand-picked selection of Drupal content from around the web.
No AI, no marketing, no ads, just thoughtful content written by humans.

Inspired by PHPReads.

The text_with_summary field formatter plugin has been deprecated as of Drupal 11.5 and moved to a new module named 'text_with_summary'.

That module will be removed from core in Drupal 12 and moved to contrib under the same name.

This change is related to Node module no longer ships with field.storage.node.body.yml, introduced in Drupal 11.3, which people (like myself) may have missed.

| Stuart Clark

Stuart introduces us to his brand new Deoupled Settings module, which serves Drupal's site and theme configuration over JSON:API, and lets every frontend override the values it needs.

Core's JSON:API already serves config entities, but never exposed simple configuration, which is where the new module comes in. 

Stuart explains how and when to use Decoupled Settings, and contrasts it with the Config Pages module.

As of Drupal 12 procedural (legacy) hooks are only collected in the main .module, .theme and theme-settings.php extension files of your module or theme.

If your extension still provides legacy hooks, consider converting them to OOP or make sure to move them to the main extension file.

| Joeri Poesen

The IndieWeb is a people-focused alternative to the "corporate web". In this post I talk about Softcore IndieWeb as an alternative to Hardcore IndieWeb

Along the way I go into how and why I use Drupal as a Static Site Generator to get there.

Shawn dives into the Symfony HttpKernel event subscribers used when Drupal prepares a response and needs to render HTMX.

If you've always been curious about the magic behind <css-placeholder>, <js-placeholder>, and <js-bottom-placeholder> in your theme, this post is for you.

| Joeri Poesen

Just like it says in the title, I published a little utility script to give DDEV snapshots a more useful name, especially handy when you need to revert DB and codebase often.

| Gábor Hojtsy

Gábor, godfather of multilingual Drupal, released two Drupal modules: Language Audit (to help diagnose config language inconsistencies) and Config Language Lock (to enforce a single configuration language).

He also submitted similar functionality as a core merge request for Drupal 12 beta and is looking for feedback on all of the above.

| Mark Conroy

Mark Conroy, longtime LocalGov Drupal architect, released his new LocalGov Drupal Microsites Demo Module, which provides handful of demo sites, demo users, and demo content.

He explains the reasons behind building this module, and the benefits for clients and developers.

.theme file extensions have been marked deprecated as of Drupal 11.5 and will no longer be loaded as of Drupal 13

All hooks should be moved to object oriented classes to utility classes or hook classes.

A helpful contributed DDEV script with a rector rule is provided.

| Stuart Clark

The Custom Formatters module lets you easily create custom field formatters through an admin UI without having to create a custom module. Custom formatters are exported as config entities.

Stuart initially created this module back in 2009 and recently picked up active maintainership again with the new 4.1 branch. 

In this article he shows us around the module's new architecture and features, including support for Devel Generate and a built-in twig code editor.

HTMX is a library that lets you access modern browser features directly from HTML through attributes, rather than using JavaScript or jQuery.

Shawn breaks down some of the technical aspects, how they relate to Drupal, what's been going on with the integration of HTMX support into Drupal core.

| Mario Hernandez

Mario dives into two core patches to solve strange responsive image behaviour he encountered. 

This article is a great place to learn a lot about responsive images, and how to work your way back through core patches and issue queue discussions to figure how and why Drupal behaves the way it does. 

A very geeky treasure hunt. Recommended.

| Joachim's blog

Joachim explains how computed fields are a more robust and useful alternative to adding custom data to the build array or using the Drupal 5-era extra fields approach. 

If you want your additional entity information to be tied in with field formatters, Views, or Search API read on.

When Drupal Canvas started using its own JSON component ahead of Core, tests started failing for MySQL and Postgres, while MariaDB and SQLite were ok.

Christian explains why this happened, and how they fixed the failing tests.

The ECA module brings a powerful conditional logic and workflow engine with visual rule builder to Drupal. 

In this article Jürgen Haas explains how ECA's eca_form submodule lets technical and non-technical users alike customise various aspects of how Drupal looks and behaves through intuitive in-context customisation.