Entity Reference Dialog Formatter

Categories

Component ID

2839172

Component name

Entity Reference Dialog Formatter

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

203

Component created

Component changed

Component body

This is a very simple formatter for any Entity Reference field which allows you to render it as a link which opens the referenced entity in a jQuery UI modal (utilizing Drupal Core's libraries).

You can customize the link text and the dialog window options.

An example use case would be to create a reference to a Contact Form from an entity (such as an entity representing a Support Rep to contact). You can then render that reference as a link to pop up the contact form in a dialog window.