Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

View Mode Conditional Fields

No security coverage Under active development 22 sites

This module allows you to hide entity fields on form displays unless they are specifically assigned to a particular view mode. This helps to simplify content editing by only showing relevant fields for each display context.

One of the common problem is the entity field grows to large number over the time with the increasing display modes. However not all fields are relevant to all display modes hence it becomes confusing for the editorial team to decide which field to populate for what view modes.

Classical Example: While adding/editing blocks on layout builder, there are too many fields on block which are not contextual to view mode to be used for the current instance.

This is where View Mode Conditional Fields comes to rescue. It allows you to control the visibility of entity fields on form displays based on the view mode settings(entity view modes).

This modules adds configuration at field level to select view modes where the field should be visible, if none is selected it will continue the way it works out the box i.e. field will display for all display modes.

Note: The module is written in a way that it should support on most of the entities, however for the initial release it is well tested on block and paragraph entity.

Drupal 10–11

Ask your assistant about View Mode Conditional Fields

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
6
Tracked since
Mar 2023
Latest release
1 month ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.5 Stable 10–11 Sep 15, 2026
1.0.4 Stable 9–11 May 29, 2025
1.0.3 Stable 9–10 Nov 28, 2023
1.0.2 Stable 9–10 Nov 24, 2023
1.0.1 Stable 8–10 Aug 24, 2023
1.0.x-dev Dev 10–11 Mar 20, 2023