Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: AI Integration - ECA 1.0.1 Minor update available for module ai_integration_eca (1.0.1). Release: Commerce Cart Redirection 4.0.0 Major update available for module commerce_cart_redirection (4.0.0). Release: MCP Sentinel 2.23.2 Minor update available for module mcp_sentinel (2.23.2). Release: OpenCulturas 3.0.8 Minor update available for distribution openculturas (3.0.8). Release: LocalGov News 2.5.5 Minor update available for module localgov_news (2.5.5). Release: LocalGov Microsites Group 4.6.2 Minor update available for module localgov_microsites_group (4.6.2). Release: Entity 404 1.2.1 Minor update available for module entity_404 (1.2.1). Release: Native Observability 2.0.1 Minor update available for module native_observability (2.0.1). Module Revived: Exclusive boolean 1.0.3 Module exclusive_boolean updated after 7 months of inactivity (1.0.3). Security Coverage: Soundcite Module soundcite now has official Drupal security advisory coverage.

View Mode Selector

1,013 sites Security covered Drupal 10–11
View on drupal.org

This module provides a field that allows users to select a specific view mode for an entity. This view mode can then be used to display the entity's content, with options for select lists or radio buttons, and even custom icons for radio buttons.

A small module which allows you to change the view mode of an entity.

This module provides a new field type "View mode selector", so just go to "Manage fields" and create a field of that type and choose between a "select list" and a "radio buttons" widget. When you choose "radio buttons" it is possible to upload an icon which will be displayed instead of the view mode name.

In order to display your referenced entities with the new "View mode selector" view mode don't forget to change the view mode on "Manage display" which is used for displaying them.

If Display Suite is enabled, it can also display a live preview of the configured view mode layout. Here is an example:

You can create issues and pull requests on Github.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
8.x-1.2 Stable 10–11 Aug 6, 2026