Drupal Module Development

The Open Drupal Drupal module development course provides you with fundamental knowledge of the Drupal 8 API. During this course you will build modules using Drupal 8 principles and Drupal API functions. While doing so, you also learn security aspects of Drupal module development.

The Drupal module development course

This course is primarily aimed at Drupal back-end developers. But front-end developers will also benefit from this course.

Starting level

You have half a year of experience building sites in Drupal or you have followed the OpenDrupal course Drupal fundamentals. You have at least one year experience with PHP and some experience with object oriented programming.

End level

After participating in this course you can develop a Drupal module according to best practices and understand existing Drupal code. As part of a team of Drupal developers you can write a simple Drupal module and understand other people’s code.

After completing this course you can answer questions like:

Required facilities

The lessons

This course is broken down in the lessons listed below. The total course will, in average, take 4 days of 6 hours each.

Lesson 1 and 2

Lesson 3

Lesson 4

Lesson 5

Lesson 6

The exercises

During this course you will build two Drupal modules. The exercises are designed to put the most commonly used tools and patterns of the Drupal API into practice. An example of the completed exercises is available for reference.

Setting up

Prepare as participant

To participate in this course, you need a local development environment with a working Drupal 8 installation. Using a localhost server is common practice when developing for Drupal.

Detailed set-up instructions are provide in the repository.

Prepare as trainer

To present this course, you need a local development environment with a working Drupal 8 installation. Detailed set-up instructions are provide in the repository.

If you find errors or have additions to the materials, feel free to contribute by creating a pull request.

License

Open Drupal materials, such as slides and exercises, are licensed under the Creative Commons Attribution-ShareAlike 4.0 license (CC BY-SA 4.0). You are free to share and adapt these materials.

Any included software packages, such as Drupal and JavaScript packages, are licenced under their respective license. Example code developed for Drupal (e.g. modules, themes, profiles) inherit the Drupal license.

Contact

Get Connected