Table of Contents
Preface
1
Developing for Drupal
Introducing Drupal (for developers)
How did we get to Drupal 10?
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
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
Redirecting ...
Get Drupal 10 Module Development - Fourth 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.