view_modes_display
View Modes Display is a helper module to preview view modes for your entities.
When working on a site with many content types and view modes, it becomes tedious to find out where to view the rendered entity in a given view mode. This module aims to solve this by providing an additional tab "Preview Display" on the entity itself.
On the "Preview Display" page, all view modes with custom settings will be rendered in the enabled theme. A contextual link is also added for nodes to make it easy to link to the "Preview Display" from anywhere the entity is shown.
This module is compatible with both Entity View Modes and Display Suite.
Configuration
Enable the module, add preview permission to required roles and check for the "Preview Display" tab
on any supported entity page.
Drupal 10
Supported entities
At this moment, the following entity types are supported:
- node
- block
- media
- user
Drupal 7
Supported entities
At this moment, the following entity types are supported:
- node
- user
- taxonomy
- profile2 (page)
Support for custom entities is planned, and patches are welcome!