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

Описание к видео 🚀 Developing a Drupal 8 module with a controller and custom template

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  

Комментарии

Информация по комментариям в разработке