Form API

Form API in Drupal 8.

Introduction to Form API

Use Drupal's Form API to consistently and efficiently produce and process forms in a module.

ConfigFormBase with Simple Configuration API

This type of form is used to create forms for configuration pages on your Drupal website. You can set up configuration forms that allow you

ConfirmFormBase To Confirm an Action

Learn to use the ConfirmFormBase class to quickly implement a confirmation dialog.

Form Render Elements

HTML5 and other useful form render elements

Guide maintainers