Drupal 8 Module Development

Duration2 days · LevelDrupal Essentials

Course Description

Developing Drupal modules allows you to create customized functionality for your Drupal site. While Drupal is designed to be a flexible, extensible platform, it can be challenging to figure out the best techniques for extending it and how your custom module fits into the Drupal’s overall architecture.

In this training, you'll learn the process for developing a module with standard components like blocks, permissions, forms, and pages. The course will cover the concepts behind module development, how to use Object Oriented Programming for Drupal 8, and essential Drupal developer tools. It will give you an overall understanding of how modules work and you’ll get hands-on experience developing modules from scratch.

Learning objectives

You'll come away from the course with knowledge of:

  • How Drupal works from a back-end perspective

  • How to create a Drupal 8 module

  • Using api.drupal.org, the Examples module, and core modules, as documentation

  • How to Drupal Console and Drush

  • Setting up your development environment

  • Object-oriented programming for Drupal

  • Best practices for Drupal module development

Syllabus

  • Creating a Drupal 8 module

  • Drupal coding standards

  • Using Drush, Drupal Console, and Composer

  • Creating pages programmatically

  • Creating custom field types and formatters

  • Using the Examples module

  • Creating custom forms

  • Database integration

  • Creating blocks programmatically

  • Creating administrative forms

  • Creating and applying patches

  • Configuration management

Who Will Get the Most Out of This Course

This course is ideal for developers who are new to Drupal and want to be able to create or maintain custom modules. It will also be useful for Drupal 7 developers who want to upgrade their skills.

Dev Environments

You need a fresh install of Drupal 8 to use for the course. Before the course, we’ll send you instructions on how to set up Drupal 8 on your laptop. 

Prerequisites
Some previous programming experience. Knowledge of Drupal site building.

Related Courses

Drupal 8 Theming

Duration: 2 days
Pre-requisites: Before you take this course, you should have some experience administering a Drupal website and knowledge of HTML and CSS. Knowledge of Drupal 8 is not required.
See details

Drupal 8 Theming

Duration: 2 days
Pre-requisites: Before you take this course, you should have some experience administering a Drupal website and knowledge of HTML and CSS. Knowledge of Drupal 8 is not required.
See details
Sign up for our training newsletter

Receive email notifications about upcoming Drupal trainings near you.