Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

This module enables the use of different form modes for creating or editing entities like nodes, taxonomy terms, and comments. It automatically maps these form modes to the entity's form route, allowing for customized editing experiences.

This module allows you to use different form modes for adding or editing entities as nodes, taxonomy terms or comments.

It hooks up form modes corresponding to entity form routes. The route to add or edit an entity is called "entity.taxonomy_term.add" or "entity.node.edit_form". All you have to do to display i.e. the edit form in its own form mode is to offer a form mode with the (machine) name "edit_form" (the last part of the route name). This is automatically selected by this module to display the form.

The module is very lightweight. It consists of only 10 lines of code that make the life of Drupal developers so much easier. There are no known issues.

Restrictions:

Works for default entity types as Nodes, Taxonomy Terms, Comments and custom entity types so far the forms are displayed with their own route and the naming convention for entity forms is followed: entity.{entity_type_id}.{form_id}. For adding Nodes you should use the "default" form mode, because the route name to add nodes is "node.add" instead of "entity.node.add" for other node forms it should work as expected. For User entities this module doesn't work.

Installation

Download and install as you usually do or described here.

Configuration

  • Go to "Admin > Structure > Display Modes > Form Modes > Add Form Mode" (or /admin/structure/display-modes/form/add) and select i.e. "Content".
  • Type "Edit form" (important: Machine name must be "node.edit_form") and save.
  • Got to "Admin > Structure > Content types > Article > Manage form display" (or /admin/structure/types/manage/article/form-display) and enable the new form mode "Edit form" in the section "Custom display settings" and save.
  • Click the tab "Edit form" that appears now on the page "Manage form display" and customize the Form to use, when you will edit an existing article entity.
  • You are done.

REQUIREMENTS

No requirements.

Activity

Total releases
1
First release
Apr 2026
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.3 Stable Apr 23, 2026