Part of the Entity ecosystem · 310 projects
This module allows you to display referenced content entities as an overlay when their title is clicked or rendered using a specific view mode. This provides a convenient way to quickly view related content without leaving the current page.
Displays referenced content entities as an overlay from a label (title of the entity as a link) or a view mode (e.g. teaser).
Configuration
Field Formatter for entity reference
- Add an entity reference field.
- On a display / view mode, choose the Label overlay or the Rendered entity overlay as the formatter.
- Configure the desired view mode for the overlay.
Roadmap
- Overlay settings (width, height, ...)
- Change overlay method from the configuration. Currently, the overlay is a jQuery UI dialog as it is part of the core. Further releases will add configuration options for a Settings Tray, under content display or other dialogs.
- Views Formatter
Override the jQuery UI Dialog stylesheet
Use libraries override in your custom theme.
Create a css/overrides/dialog.css in the custom theme directory.
Then, in mytheme.info.yml, declare the override.
libraries-override:
core/jquery.ui.dialog:
css:
component: assets/vendor/jquery.ui/themes/base/dialog.css: css/overrides/dialog.css
Ask your assistant about Entity Overlay
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.
More in the Entity ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.0-alpha5 | Pre-release | 8–10 | Jul 19, 2023 |