Table of Contents
Preface
Chapter 1: Developing for Drupal 9
Introducing Drupal (for developers)
How did we get to Drupal 9?
Developing for Drupal
Technologies that drive Drupal
PHP
Databases and MySQL
The web server
Drupal architecture
Drupal's major subsystems
Tools for developing in Drupal
Summary
Chapter 2: Creating Your First Module
Creating a module
Your first hook implementation
Route and controller
Services
Using services in Drupal
Injecting the service into our Controller
Invoked Controllers
The Form API
Altering forms
Custom submit handlers
Rendering forms
Service dependencies
Blocks
Our first block plugin
Block configuration
Working with links
The URL
The link
Which way to link?
Event Dispatcher and redirects
Redirecting from a Controller ...
Get Drupal 9 Module Development - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.