entity_reference_link
94 sites
No security coverage
Why this module?
You have an entity reference field, but you are not looking to link it to the entity. Instead, you might want to link to another page using the entity ID as a parameter. Or, perhaps you would like to link to a view, and use the Entity ID as a query parameter for the filter? Or perhaps a query parameter used to prepopulate a form value? These can be done in custom code, using the Url and Link classes, but this module lets you handle many link-generating cases from the field display settings.
How to use
After installing the module, go to any entity display settings page, and entity reference fields will have an "Entity Reference Custom Link" format available. Select this, and fill the appropriate options