Drupal is a registered trademark of Dries Buytaert

entity_link_display

28 sites Security covered
View on drupal.org

Entity Link Display provides a simple, reusable field formatter that renders a link to the current entity’s canonical URL. This allows site builders to add direct "view" links for content entities (nodes, users, taxonomy terms, etc.) directly in display modes, view modes, or Layout Builder without writing any custom code or overriding templates.

It’s particularly useful when building admin dashboards, reports, or content listings where a quick link to the full entity page is needed.
Unlike traditional approaches where you might need to override templates or write custom Twig for teasers, view modes, or Layout Builder displays, this module works out of the box — just like the "Link to content" field in Views.

Requirements
------------
This module requires no modules outside of Drupal core.

Installation
------------
* Install as you would normally install a contributed Drupal module. Visit
[Installing Modules](https://www.drupal.org/docs/extending-drupal/installing-modules) for further information.

Features
------------

  • Adds a field formatter for rendering the current entity's URL as a clickable link.
  • Works with all fieldable entity types (nodes, taxonomy terms, users, etc.).
  • Allows customization of:
    • Link text (e.g., title, "View", or custom string).
    • Link target (_self or _blank).
    • Option to include or exclude the URL scheme (https://).
  • Supports multilingual sites (uses the correct translated URL).
  • Integrates with all view modes and display modes.

Use Cases:
------------

  • Add a "View" or "Read more" link to custom entity displays.
  • Build editorial or administrative views with quick access links to content.
  • Provide end users with a clean way to navigate to referenced entities.

Post-Installation
------------
Once the module is enabled:

  1. Go to the "Manage display" tab of any fieldable entity type (e.g., content type, taxonomy term, user).
  2. Find "Display Link" field and place as per your requirements.
  3. Configure the formatter settings:
    • Choose what text should appear in the link.
    • Set whether the link should open in the same window or a new tab.
    • Adjust additional options such as the link class, title attribute, etc.
  4. Save the display settings.

Activity

Total releases
2
First release
May 2025
Latest release
9 months ago
Release cadence
5 days
Stability
50% stable

Releases

Version Type Release date
1.0.1 Stable May 31, 2025
1.0.x-dev Dev May 26, 2025