Bundle form
This module provides a simpler way to override entity forms without needing to use `hook_form_alter`. You can create a specific "bundle form" that matches your entity type and bundle, and the module will handle the rest. It currently supports overriding forms for nodes, taxonomy terms, and paragraphs.
Actually, to override an entity form, you have to define a form_alter to trigger the right form id (which change if you create or edit an entity).
The idea behind this module is simple : implements a way to override an entity form simplier than hook_form_alter.
To do that, it's quite simple :
- Install the module
- Create a bundle form that matching your entity type / bundle
- Override your form
Entity types supported are :
- node
- taxonomy_term
- paragraph
Add support for others entity types is quite simple (check bundle_form.module and BundleFormTrait).
You can do it yourself or create a ticket.