Skip to content

Provides a field which returns the rendered view mode for the current entity.

License

Notifications You must be signed in to change notification settings

wilroboly/entity_display_field

Repository files navigation

Entity Display Field

Provides a field which returns the rendered view mode for the current entity.

This modules can be used to enable per-entity view mode settings.

How to use

Add a new Display Field to your content type

  1. Under Manage Display -> Default, make ONLY the Display Field visible
  2. Set up your other View Modes as you see fit
  3. When editing individual entities, select the view mode you wish to render the entity as

This project is based on Node Display Field, but works for all Entity types.

Original Module

This module forks the work done here:https://www.drupal.org/project/entity_display_field

About

Provides a field which returns the rendered view mode for the current entity.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages