🚀 Developing a Drupal 8 module with a controller and custom template

Опубликовано: 10 Октябрь 2024
на канале: Drupal Up - Drupal 8 Video Tutorials
45,373
450

In this tutorial, we are going to create a simple Drupal 8 module. We will declare the module in the .info.yml file first, then we will declare the custom theme function that will link the controller and the template file. Afterward, we will declare our controller in its own class and then we will assign it to a root in the .routing.yml file. In the end, we will implement our template file.

The full code of the module you may find here:
https://github.com/drupal-up/drupalup...

🤓 Support and continue learning on Patreon:
  / drupal_up