Skip to main content
Home
Drupal life hacks

Main navigation

  • Drupal
  • React
  • WP
  • Contact
  • About
User account menu
  • Log in

Breadcrumb

  1. Home

Drupal 11

By admin, 6 August, 2026
Drupal 11.5 before and after library ordering example

Core Library Definitions Now Support before and after Ordering in Drupal 11.5

Drupal 11.5 introduces Drupal 11.5 library ordering, a new feature that allows libraries to be loaded before or after another library without declaring a dependency. The new before and after keys make asset ordering cleaner, reduce unnecessary dependencies, and provide a more maintainable way to control JavaScript and CSS loading.

Tags

  • Drupal
  • Drupal 11
  • Drupal 11.5
  • Drupal Core
  • Asset Libraries
  • Libraries API
  • JavaScript
  • Frontend
  • Module Development
  • Theme Development
By admin, 11 July, 2026
Drupal 11 CLI showing the new vendor/bin/dr command in Drupal 11.4.

Drupal 11.4 introduces dr: A new CLI for Drupal Core

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.

Tags

  • Drupal
  • Drupal 11
  • Drupal Core
  • Drupal CLI
  • dr
  • Drush
  • Symfony Console
  • Symfony Attributes
  • PHP
  • Module Development
  • Developer Experience
  • Composer
  • DDEV
  • Command Line
  • Drupal 11.4
By admin, 17 December, 2025
Drupal Paragraphs vs Layout Builder: When and How to Use Each

Drupal Paragraphs vs Layout Builder: When and How to Use Each

Drupal offers multiple ways to build flexible, editor-friendly pages. Two of the most powerful tools are Paragraphs and Layout Builder. Both solve different problems, and understanding when to use which — or how to combine them — is key to building scalable Drupal sites.

This article explains the differences, strengths, weaknesses, and best practices for using Paragraphs and Layout Builder in real-world Drupal projects.

Tags

  • Drupal
  • Drupal Paragraphs
  • Layout Builder
  • Drupal 11
By admin, 12 December, 2025

Drupal 11.3: The access callback Key in Views Handlers Is Now Deprecated

With the release of Drupal 11.3.x, the Views API has received an important change:
the long-standing access callback key used in Views handler definitions has been deprecated.

This update impacts module developers, site builders, and anyone defining custom Views handlers.


🚨 What Exactly Has Been Deprecated?

In earlier versions of Drupal, you could define access logic for a Views handler directly inside views_data():

Tags

  • Drupal 11
  • Views API
  • access callback deprecated
  • custom handler
  • access method
  • Drupal change record
By admin, 27 October, 2025

🧱 Drupal 11.3: Themes Now Support OOP Hooks

🚀 Introduction

Drupal 11.3.0 brings a powerful update for themers and front-end developers:
themes can now implement hooks using Object-Oriented Programming (OOP) with the #[Hook()] attribute — just like modules have been able to do since Drupal 11.

This means no more long procedural functions in template.php.
Instead, you can organize your logic cleanly in classes inside the theme’s src/Hook directory.

Tags

  • #Drupal Planet
  • Drupal 11
  • Themes
  • Hooks
  • OOP
  • PHP Attributes
Drupal 11
Powered by Drupal