Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

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

Releases

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