Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.6.17 Update released for Drupal core (10.6.17)! Release: Drupal 11.3.17 Update released for Drupal core (11.3.17)! Release: Drupal 11.4.7 Update released for Drupal core (11.4.7)! Release: CKEditor 5 Plugin Pack 1.5.5 Minor update available for module ckeditor5_plugin_pack (1.5.5). Release: CKEditor 5 Premium Features 1.8.4 Minor update available for module ckeditor5_premium_features (1.8.4). Release: AI (Artificial Intelligence) 1.3.14 Minor update available for module ai (1.3.14). Release: AI (Artificial Intelligence) 1.4.9 Minor update available for module ai (1.4.9). Release: Copyright Footer 3.3.0 Minor update available for module copyright_footer (3.3.0). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs. Module Revived: Commerce Stripe 2.2.2 Module commerce_stripe updated after 6 months of inactivity (2.2.2).

This module allows you to display fields from referenced entities as if they were part of the host entity. This provides theme developers with more flexibility in how content is structured and displayed within templates, without needing to write custom preprocess functions. It's useful for scenarios where you need to integrate content from related entities directly into the layout of another.

A field formatter that transports the referenced entities as a pseudo field on the host, mostly for themers pleasure.

Say for example you are having a entity queue attached to your node, but your themer needs the individual queue items in the host node template file, instead of rendering the content.field_queue as a whole. Instead of having to preprocess it in your .theme file you can conviently set it on the content entity itself, being it a less theme dependend solution.

Practical example: aka the itch that caused this module to be build in the first place. We have a job listing site where the actual jobs are coming from an ATS vendor. But the we needed some form of content enrichment on the actual vacancy. And that enrichment needed to be flexible and easy to use. That rules out blocks and context. So instead we created entity queue that are coupled to the vacancy node. But the content of that queue needs to be placed intersectional with the vacancy node.

Setting the formatter of that reference field as a reference as field formatter the themer can access the enrichment fields from the queue, intertwine them with the fields of the host node without any problems.

Small code example

{# Keyvisual header#}
{{ content.field_content_enrichment.field_vacancy_header }}
{{ title}}
	<p>{{content.body}}</p>
	{{content.field_vacancy_link}}
	{{content.field_content_enrichment.field_vacancy_action}}

Enable this module if you need that finegrained control in your templates, but be aware that this module is not aimed at site builder that can't edit the actual twig templates.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.0.0 Stable May 4, 2026
2.x-dev Dev May 4, 2026