Module Development

Create a Form for Editing an Entity for Drupal 8, 9, 10, and 11

Adding the new vendor attendance feature starts with adding a custom module, and defining the form controller with a simplified user interface. This is mostly accomplished using concepts that we've already explored, so we'll use this as a chance to practice what we've learned.

In this tutorial, we'll:

  • Construct a new module, form controller, and route.
  • Discover how to create local tasks for an enhanced administrative UI.

By the end of this tutorial you should be able to navigate to the Attendance tab of Vendor node to access a simplified UI.

Drupal Module Developer Guide