Drupal tutorials webdesign videos
In this video, we are going to create a simple module with a form in it.
We will explain the basic structure that a Drupal 8 basic form should have. In our example, the form would be having two fields and a submit button and after clicking on submit it will simply sum the two fields. We will also create a simple route in order to be able to show the form on its own page.
If you liked this video, please also have a look at my new corse about Drupal 8 module development here (with 50% discount):
The full code of the module you could find here: