Blogs

Drupal 11.2 OOP Hooks Complete Guide

Drupal 11.2 introduces complete Object-Oriented Programming (OOP) support for hooks, eliminating the need for .module files in many cases. This guide covers the three key attributes that make this possible.

Overview

Starting with Drupal 11.2, you can implement ALL hooks using object-oriented methods with these attributes:

0/5

The AI Revolution is Here. Is Your Drupal Site Ready?

Let's be real. If you're a developer, a product manager, or a designer, you've seen the AI tsunami coming. It’s no longer about futuristic sci-fi; it's about practical tools that can transform how we build, manage, and use digital experiences. And for a long time, the question has been: how do we bring this power to Drupal without it feeling like a clunky, bolted-on afterthought?

0/5

Cooking Up Success: A Developer's Guide to Drupal Recipes

Alright, let's talk shop. If you've been in the Drupal game for a while, you've seen the evolution from monolithic distributions to a more composable, modular approach. For years, we've grappled with the challenges of install profiles and distributions—the upgrade headaches, the inability to mix and match features, and the "all-or-nothing" approach that left us with bloat we didn't need.

0/5

Overview of Drupal Recipes

Drupal 10.3 introduced the concept of Recipes as Experimental APIs, aiming to enhance the way developers create and manage Drupal sites. This new feature allows for easy sharing and composition of site configurations, replacing traditional installation profiles and streamlining the setup process.

Overview of Drupal Recipes

0/5

Overview of Drupal CMS 1.0

Drupal CMS 1.0 has officially launched, marking a significant milestone in content management systems. This release introduces a range of innovative features designed to enhance user experience, streamline marketing efforts, and leverage AI-powered tools for improved functionality. 

Overview of Drupal CMS 1.0

0/5

Setting up DDEV on a Mac using Colima

This post will guide you through the process of setting up DDEV on a Mac using Colima, an open-source Docker provider. As a developer, setting up a local development environment can be a daunting task, especially when working with complex projects like Drupal. Fortunately, tools like DDEV and Colima make it easy to get started quickly and efficiently. Note that there are alternative paid Docker providers available, such as Docker Desktop and OrbStack etc.

0/5

How to submit a form from another submit handler.

In some cases, we might want to modify the form submission behaviour to better fit a particular use case. For instance, we would like to offer our own submit handler, and we will contact the original submit handler under specific circumstances.

Here, we'll utilise the module name example to change the way a form submits when its form ID is demo_form, which is provided by demo module. To do this, we'll create the code that follows in example.module file:

5.0/5