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.
Project information
- Project categories: Developer tools
- Created by arnaud-brugnon on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.