Module Description
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
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
Module Link
Project Usage
128
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of displaying referenced content entities as an overlay from a label or view mode, with plans to add overlay settings and alternative overlay methods in future releases.
Data Name
entity_overlay