Overview
You've built a Drupal site or three 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?
You make your own!
This training will guide you through taking that step, and the crucial next step of maintaining your new module.
Building and contributing a module so that it is available officially on Drupal.org is a huge way to both deepen your connection to Drupal and further unlock Drupal's power to help you and your organization.
In this full-day training, the first three hours will cover creating a brand new module.
The second half of the day, after lunch, will cover how to make your new module contrib-worthy and how to maintain that module for, and in collaboration with, the Drupal community.
This training builds on the popular DrupalCamp session of the same name, going beyond an introduction and quick tips to dive much deeper into making and maintaining Drupal modules.
Request a Private Training
Learning objectives
- When it makes sense to make a module (the hierarchy of code usage).
- Options for extending and overriding functionality provided by Drupal core and other modules.
- How to write a module that plays well with Drupal core and other modules.
- How to build a contrib-worthy module.
- Working with version control and Drupal's GitLab instance.
- The steps to opting in to Drupal security coverage and collaborating with the security team.
- Ways to contribute to or even maintain an existing module (avoiding making one!).
- And how to continue learning on your own.
- After this training you will be able to make Drupal modules, and contribute and maintain them on Drupal.org!
Prerequisites
The only prerequsite is having done some site building with Drupal, and so having familiarity with Drupal configuration and its limits. Information gained will be equally relevant to any version of modern Drupal, including 10, 11 and the coming Drupal 12.
This training is targeted to beginners, but as it is chock full of tips we expect people at intermediate and even advanced levels with Drupal to get significant benefit.
Making a module is something that anyone can do. A useful one may be only two files with a few lines each. 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!
Setup instructions
A working Drupal 11 installation using DDEV will be provided.
This training will be provided over Zoom. You can ask questions via text chat or audio. Sharing your screen is optional, but you might want to do it to get assistance on a specific issue. Sharing your camera is optional.
What to expect
Prior to the training
Attendees will receive detailed instructions on how to setup their development environment. In addition, they will be able to join a support video call days before the training event to make the the local development environment is ready. This prevents losing time fixing problems with environment set up during the training.
On the days of the training
- The training totals 7 hours of instruction, which we usually split into 2 sessions
- A team of developers available to answer questions and help with training-related issues
After the training
- Attendees will receive a copy of the training recording.
- Attendees will receive a certificate of completion.