0%

Build and customize powerful Drupal modules to extend your website's functionalities with this comprehensive guide

Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Explore the new features and improved capabilities of Drupal 10 core
  • Discover Drupal APIs and elevate your proficiency by leveraging PHP coding
  • Implement efficient data management and data security by creating dedicated modules

Book Description

Embark on a journey of Drupal module development with the latest edition of this must-have guide written by Daniel Sipos – a Drupal community member! This fourth edition is meticulously revised to cover the latest Drupal 10 enhancements that will help you build custom Drupal modules with an understanding of code deprecations, changing architecture, data modeling, multilingual ecosystem, and so on.

You'll begin with understanding the core components of Drupal 10 architecture, discovering its subsystems and unlocking the secrets of creating your first Drupal module. Further, you'll delve into Drupal logging and mailing systems, creating theme hooks, and rendering a layout. As you progress, you'll work with different types of data storage, custom entities, field types, and work with Database APIs for lower-level database queries. You'll learn to reap the power of JavaScript and ensure that your code works seamlessly on multilingual sites. You'll also learn to create custom views, automate tests for your functionalities, and write secure code for your Drupal apps.

By the end of this book, you'll have gained confidence in developing complex modules that can solve even the most complex business problems and might even become a valuable contributor to the Drupal community!

What you will learn

  • Gain insight into the Drupal 10 architecture for developing advanced modules
  • Master different Drupal 10 subsystems and APIs
  • Optimize data management by modeling, storing, manipulating, and processing data efficiently
  • Present data and content cleanly and securely using the theme system
  • Understand helpful functions while dealing with managed and unmanaged files
  • Ensure your Drupal app has business logic integrity with automated testing
  • Implement secure coding in Drupal

Who this book is for

If you are a Drupal developer looking to create custom modules for Drupal sites and cater to business needs, this book is your one-stop solution. Drupal 10 Module Development will be helpful for Drupal site builders and PHP developers with basic object-oriented programming skills, looking to upskill themselves in Drupal module development. A basic working experience with Symfony will be helpful but not mandatory.

Table of Contents

  1. Drupal 10 Module Development
  2. Contributors
  3. Preface
  4. Chapter 1: Developing for Drupal
  5. Chapter 2: Creating Your First Module
  6. Chapter 3: Logging and Mailing
  7. Chapter 4: Theming
  8. Chapter 5: Menus and Menu Links
  9. Chapter 6: Data Modeling and Storage
  10. Chapter 7: Your Own Custom Entity and Plugin Types
  11. Chapter 8: The Database API
  12. Chapter 9: Custom Fields
  13. Chapter 10: Access Control
  14. Chapter 11: Caching
  15. Chapter 12: JavaScript and the Ajax API
  16. Chapter 13: Internationalization and Languages
  17. Chapter 14: Batches, Queues, and Cron
  18. Chapter 15: Views
  19. Chapter 16: Working with Files and Images
  20. Chapter 17: Automated Testing
  21. Chapter 18: Drupal Security
  22. Index
  23. Other Books You May Enjoy