In this chapter, we covered creating our own custom forms. We started with a confirmation form to verify user actions. Next, we created our own configuration form and stored the entered information in the Configuration API.
Then, we looked at all the new types in the Form API in Drupal 8. These include both new HTML 5-based form elements as well as new interface elements used in Drupal 8, such as the Drop button.
Finally, we learned how to create a form that can be submitted via AJAX and how to change the form on the browser without a full-page load.