Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

This module provides a new plugin type that enhances the regular display of entities.

Features

The module introduces a plugin type "Entity display processor".
The plugin can be chosen as part of an entity view mode.

This way, what used to be one-off implementations of hook_entity_view_alter() in your project can be turned into reusable plugins, and possibly published as part of contributed modules.

Possible effects that could be achieved:
- Add a CSS effect to the rendered entity: Shadow, background color, etc.
- Add a custom CSS class to the entity's html element.
- Display the entity in an expand/collapse box.
- Apply a dynamic effect that depends on values in the entity. E.g. a colored frame, where the color is coming from a field value.

Only few such plugins are published as part of this module.
The idea is to create more plugins as part of your specific project, theme, or in-house ecosystem.

Post-Installation

After installation, go to do e.g. `/admin/structure/types/manage/page/display/teaser`.
(assuming that a content type 'page' exists, with a view mode 'teaser')
At the bottom of the form, you can choose and configure up to one entity display processor plugin.
Later, when viewing the entity in the given view mode, the effect from the plugin will be applied.

Similar projects

You can achieve similar effects with Display Suite, or with core layout builder, if you have a layout that has the desired effect. However, with this module, you can add an additional effect that is independent of the layout.

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
3
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta2 Pre-release Jan 3, 2025
1.0.0-beta1 Pre-release Jan 2, 2025
1.0.x-dev Dev Jan 2, 2025