Technical requirements
This chapter requires an existing custom module installed on your Drupal site. This custom module will contain the controllers created throughout this recipe. Chapter 4, Extending Drupal with Custom Code, covers how to create a custom module. You can find the full code used in this chapter on GitHub: https://github.com/PacktPublishing/Drupal-10-Development-Cookbook/tree/main/chp05