Drupal is moving away from .module and .theme files as more hooks shift to object-oriented implementations. The deprecation sets up a broader structural change for contributed and custom code ahead of future core releases.

Drupal is moving away from .module and .theme files as more hooks shift to object-oriented implementations. The deprecation sets up a broader structural change for contributed and custom code ahead of future core releases.
Drupal 11.5 adds a Views post-save API so plugins can request route rebuilds and discovery-cache clearing only when needed. The longstanding views_invalidate_cache() helper is now deprecated.
A Drupal rebuild replaces custom Drupal 7 template tables with reusable Layout Builder sections and components. Editors can save working pages as templates, apply independent copies, and validate blocks against destination data.
phpstan-drupal’s playground now supports agent-friendly bug reproduction through a documented API. Agents can submit code, receive share links, retrieve Markdown results, and compare saved errors with current analysis.
Drupal 12.0.0-alpha1 opens compatibility testing for modules and themes. It requires PHP 8.5 and brings major dependency changes, while HTMX 4 is still planned for beta1. Alpha1 is not for production.
Six new ECA Guide recipes show ways to improve Drupal editor workflows with AI metadata, edit shortcuts, dependent fields, Form API Ajax, and HTMX guidance.