This module allows forcing the use of a specific theme when rendering an entity view display.

Usage

  1. Enable the `force_render_theme` module
  2. Go to a view display configuration: Structure → Content types → [Type] → Manage display → [View mode]
  3. In the "Theme settings" section, select the theme to use for this view display
  4. Save the configuration

The entity will now be rendered using the selected theme instead of the default one.

Use cases

This module is particularly useful for:

  • Rendering entities in the back-office using the front-office theme
  • Previewing content with different themes
  • Using specific themes for certain view modes (teaser, full, etc.)
Supporting organizations: 

Project information

Releases