Drupal is a registered trademark of Dries Buytaert
drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). commerce_paypal 2.1.2 Minor update available for module commerce_paypal (2.1.2). ckeditor5_premium_features 1.8.1 Minor update available for module ckeditor5_premium_features (1.8.1). ckeditor5_plugin_pack 1.5.2 Minor update available for module ckeditor5_plugin_pack (1.5.2). node_revision_delete 2.1.0 Minor update available for module node_revision_delete (2.1.0). scheduler_content_moderation_integration 3.0.5 Minor update available for module scheduler_content_moderation_integration (3.0.... commerce 3.3.5 Minor update available for module commerce (3.3.5). geocoder 8.x-4.34 Minor update available for module geocoder (8.x-4.34). leaflet 10.4.5 Minor update available for module leaflet (10.4.5).

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
22 hours ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.0.3 Stable Apr 23, 2026