Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module allows loading different kinds of entities on the twigs templates, you can also specify how to receive the entity as a rendered entity or as an object.
Twig functions available:
load_entity(), return a rendered or not rendered entity, parameters:
- entity type (The entity type).
- id (The entity id).
- view mode (The entity view mode).
- render (1 = to receive a rendered entity, 0 = receive the entity object).
load_entity_field(), return a rendered or not rendered entity field, parameters:
- entity type (The entity type).
- id (The entity id).
- field name (The field entity name).
- render (1 = to receive a rendered entity field, 0 = receive the entity field object).
Supporting organizations:
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Content Editing Experience, Developer Tools
- Created by maunm on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.