Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Form Mode Control

Security covered Under active development 2,686 sites

This module enhances Drupal's form mode functionality by allowing administrators to control which form modes are accessible to different user roles. It also enables setting default form modes for specific entity types and bundles based on user roles, and allows direct access to form modes via URL parameters.

In Drupal 8, you can create form modes which control how the fields are displayed in the edit form of content such as nodes and taxonomy terms.

The "issue" is that you can't actually make use of those form modes from config except for user register and edit forms.

This module allows you:

  • to define access to each form mode for the different roles,
  • to define for each role, each bundle of each entity which form mode should be selected by default during the creation and edit of a content. Of course you should grant access before defining this. If a user has multiple roles, the weight of the roles is taken into account (heaviest one),
  • to access any of the form modes—as long as you have the permission—by adding a simple parameter such as the following example: node/add/article?display=form_mode_machine_name.

See readme for the complete process.

Similar modules

Form mode Manager: Form mode manager does not affect the default form but provides new tabs and links for creation / edition with any form modes managing also access permissions. It has therefore more impact on your site admin.

Roadmap for compatibility:
> Share the permissions between the two modules somehow ?
> Disable the display=xxx function on the form manager forms.

Drupal 8–11

Ask your assistant about Form Mode Control

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2024
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-2.6 Stable 8–11 Mar 23, 2026
8.x-2.5 Stable 8–11 Jan 5, 2026
8.x-2.4 Stable 8–11 Jul 27, 2024
8.x-2.3 Stable 8–11 Apr 17, 2024
8.x-2.2 Stable 8–10 Feb 28, 2024