Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Reference Custom Link Formatter

No security coverage Maintenance fixes only 100 sites

Part of the Entity ecosystem · 308 projects

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

Drupal 8–11

Ask your assistant about Entity Reference Custom Link Formatter

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

  • 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
11 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP 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