Learn
Develop custom Drupal 9 modules using expert techniques
Master numerous Drupal 9 subsystems and APIs as you develop modules
Get to grips with modeling, storing, manipulating, and processing data for effective data management
Display data and content cleanly and securely using the Drupal 9 theme system
Test your business logic to prevent regression
Stay ahead of the curve and write PHP code by implementing best practices
About
Drupal is an open source content management system that empowers millions of independent developers and organizations with end-to-end website solutions. Updated to include the new functionalities introduced in Drupal 9, this third edition of the Drupal Module Development guide will help you to stay on top of code deprecation and the changing architecture of Drupal with each new release.
The book starts by introducing you to the Drupal 9 architecture and its subsystems before showing you how to create your first module with basic functionality. You’ll explore the Drupal logging and mailing systems, learn how to output data using the theme layer and work with menus and links programmatically. This Drupal guide will take you through different kinds of data storage before helping you to create custom entities and field types and leverage the Database API for lower-level database queries. You’ll also learn how to introduce JavaScript into your module, work with various file systems, and ensure that your code works on multilingual sites. Finally, you’ll work with Views, create automated tests, and write secure code.
By the end of the book, you’ll have learned how to develop custom modules that can provide solutions to complex business problems and, who knows, maybe you’ll even contribute to the Drupal community!
Features
- Explore a plethora of Drupal 9 APIs and get the best out of them using PHP programming
- Create modules for efficient data management, security, and much more in your Drupal sites
- Discover best practices for transitioning from legacy Drupal 7 and Drupal 8 APIs to Drupal 9