Drupal 11.4 brings one of the most significant developer experience improvements in recent years: a built-in command-line interface that can discover commands provided by Drupal modules.
Until now, Drupal Core included a limited CLI (core/scripts/drupal) that only supported a handful of core commands. Most developers relied entirely on Drush for command-line workflows.
With the release of Drupal, an important rendering behavior has changed for block content render arrays. If your custom modules or themes rely on #attributes in block render arrays, this update may affect your frontend output.
The change was introduced in the Drupal core issue:
“Attributes of a block content are applied to block itself” (#2486267)
This article explains what changed, why it matters, and how to update your code correctly.
Drupal Module Development vs Symfony and Laravel: How Modularity Really Works
Introduction
When developers talk about Drupal module development, they often assume that “modules” are a Drupal-only concept. However, modern PHP frameworks like Symfony and Laravel are also highly modular—just in different ways.
Dependency Injection Without Pain (Symfony, Laravel, Drupal)
In the first article, we covered the controller as a universal entry point into any modern PHP framework. Now it’s time for the next critical step — Dependency Injection (DI).
How to Tame Any Framework. Step One — The Controller
The PHP ecosystem is fragmented: Symfony, Laravel, Drupal, Yii, Slim… At first glance, each framework feels like a separate universe with its own rules, magic, and “correct” way of doing things.
But there is good news:
90% of modern PHP frameworks speak the same language. That language is HTTP and Symfony Components.
Drupal has long offered multiple ways to build dynamic user interfaces: Form API AJAX, BigPipe, and fully decoupled frontends with React or Vue. Each approach solved specific problems, but often at the cost of complexity, heavy JavaScript, or difficult maintenance.
With Drupal 11.3, HTMX becomes a first‑class citizen in core, offering a modern alternative: rich, reactive UX built primarily with HTML and server-side rendering, while dramatically reducing JavaScript overhead.