Drupal is a registered trademark of Dries Buytaert

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.

Activity

Total releases
1
First release
May 2025
Latest release
9 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.4 Stable May 29, 2025