When there's not a module for that

May 01, 2020

Presented by Benjamin Melançon

You've built sites with Drupal 8 and know that with a few dozen modules (and a ton of configuring), you can do nearly everything in modern Drupal.

But what do you do when there's not a module for that? Or the ones that exist don't quite meet your needs?

You make your own.

This session will help you take that step. All you need to do is write two text files. The first file tells Drupal about the module; it’s not code. The second file can have as little as three lines of code in it. Making a module is something that anyone can do. There are many (mostly simple) rules to follow and tons of tools to use—and lots of exploration to do. Every person developing a module is still learning.

Learning Objectives
In this hands-on session, you will:

Learn how to decide when to make your own module.
Write a module that plays well with Drupal core and other modules.
Discover ways to explore the options for extending and overriding functionality provided by Drupal core and other modules.
Target Audience
A person who has done some site building and has run into limitations or simply wants to try out developing with code.

The only recommendation is to have done some site building with Drupal, and so having familiarity with Drupal configuration and its limits. Information gained will be equally relevant to Drupal 8 and Drupal 9.


Hi! I'm Karim Boudjema, the developer and site-builder of this site.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.