Click to search on your search term.

Drupal 8 Module Development

D8 Module Development introduces the coding concepts behind Drupal 8 and prepares you to tackle feature development beyond what is available through core and contributed modules. This platform is built in PHP and utilizes Symfony components to extend its accessibility to non- Drupal programmers. If you know how to configure a Drupal 8 site, but you've found limitations with what you can do with core and contributed modules; you are part of a new Drupal 8 implementation team, or you will be taking over on-going maintenance of a site built by a third party development group - this course will prepare you to manage any customizations required.

Duration: 2 days

Price: 1495.00
Online Price: 1495.00

Course Prerequisites

In order to get the most out of this course you should have prior experience in Site Building with Drupal. A combination of Acquia's Introduction to Drupal 8 (or What's New in Drupal 8) and Building Websites with Drupal 8 would be ideal preparation for those with no prior Drupal experience. While you don't need to be an expert in PHP, you understand the basic constructs of programming enough to work with a new language.

  • Drupal Site building
  • Experience with programming in PHP

Course Objectives

During this course you will build a series of modules that extend the core functionality of Drupal 8.

  • Describe Drupal's hook system and increasingly object-based development architecture
  • Articulate the construction of Drupal modules
  • Insert and extract data using Drupal's core database abstraction layer.
  • Employ and articulate best practices, conventions and coding standards


Course Outline

  1. Drupal Module Development Fundamentals
    1. About the Drupal Framework
    2. The Page Call Process
    3. Object Oriented Programming
    4. MVC, Controllers, and Routing
    5. Services and the Services Container
    6. Hooks and Plugins in Drupal
    7. Drupal Formatting and Coding Standards
  2. Creating your First Module
    1. Module Naming, Location and Basic Requirements
    2. Creating a Module
    3. Implementing a Hook
    4. Adding Pages and Menu Items
  3. Building a Fully Functional RSVP List Module
    1. Defining Module Requirements
    2. Creating a Form
    3. Creating an Install File
    4. Database Integration 1
    5. Permissions
    6. Block and Theme Systems
    7. Building the Administrative Settings Page
    8. Reporting Results
    9. Altering the Node Edit Form
    10. Database Integration 2
  4. Automated Testing
    1. Using the Simpletest module
    2. Writing Functional Tests with SimpleTest
    3. Using PHPUnit
    4. Writing Tests for Classes with PHPUnit
  5. Using Drush and the Drupal Console
  6. How would you do that in Drupal?
    1. Real-Life Design Considerations
    2. Wrap-up

Fig Leaf has provided training in the following cities:

Alexandria VAAmsterdamArlington VAAtlantaAustinBaltimore
DenverDes MoinesDetroitDubaiEdmontonGeneva
HoustonIndianapolisJacksonvilleLas VegasLondonLos Angeles
MadridMiamiMilwaukeeMinneapolisNew HavenNew York
OttawaPhiladelphiaPhoenixRaleigh / DurhamRestonRome
SacramentoSan AntonioSan DiegoSan FranciscoSan JoseSeattle
SingaporeSpringfieldState College PATallahasseeTorontoWashington DC