Drupal 8 Programatically created custom form.

Опубликовано: 20 Март 2026
на канале: Drupal Up - Drupal 8 Video Tutorials
36,475
383

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):
https://goo.gl/LPyeDw

Support Drupal Up on Patreon and learn more stuff there:
https://www.patreon.com/bePatron?u=15...

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