Your First Drupal 9(or 8) Module


  • Ted Bowman

This presentation will start you on your journey into Drupal 8 and 9 module development. It will show you the steps you need to take to make a simple but useful Drupal module.

The module will work on both  Drupal 8 and 9.

Topics that will be covered:

  • The Plugin System
  • Providing Blocks as Plugins
  • Creating Routes and Menu items
  • Creating Forms
  • Module Permissions
  • Create a Service
  • Making sure your module works with Drupal 8 and 9
  • Drupal's Hook System (yes it's still there)
  • Letting other modules integrate with your module

We will step through adding functionality to the module from the info file to the completed module. You will learn how each step works along the way. The source code for each step is available on so you can study it after the session.

Come see how simple it is to add functionality to Drupal.

Who Should Attend

  • Back-end Developers
  • Front-end Developers
  • Site Builders


To get the most out of this session, you should have some experience with PHP or another programming language. 

It also will be helpful to have at least a beginner's knowledge of Drupal. For example, this session will show you how to create a new block programmatically but we won't have time to fully cover what a Drupal block is. Therefore it will be helpful if you have used the basic block functionality in Drupal core.