Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module allows you to configure entity reference fields to link to custom URLs instead of directly to the referenced entity. You can use the entity's ID as a parameter in the URL, for example, to link to a view or pre-populate a form.

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

Depends on

Dependencies of the latest stable release

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2025
Latest release
10 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.0.1 Stable 8–11 Oct 31, 2025
2.0.0 Stable 8–11 Feb 11, 2025
2.0.x-dev Dev 8–11 Feb 11, 2025