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

Releases