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: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). 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. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module adds a formatter for link fields that allows you to display the current entity using a different view mode within the link. This is useful for scenarios like menu items where you might want to show an icon or other specific content alongside the link text. It provides a way to reuse display modes for link fields without additional dependencies.


Features

Adds a formatter for link fields that displays the current entity with another view mode inside the link.
It can be configured to display the rendered fields as inline (CSS: display: inline)


Use case
It was developed to be used with Menu item content fields
to show an icon along the menu item.

Notes
The formatter doesn't control when you select the same display mode that you are configuring
but it does have protection for recursive rendering just like the entity reference formatter from core.

Similar modules
Field group link can achieve similar results
but this module allows to organize the display in different view modes so you can repeat fields
and reuse display modes all implememented as a formatter with no extra dependencies.

Contributions
Patches on drupal.org are accepted but merge requests on
gitlab are preferred.

Depends on

Dependencies of the latest stable release

  • link Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.7 Stable 9–11 Jun 3, 2025
8.x-1.6 Stable 9–11 Mar 19, 2025