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.
Yesterday I did not know this module existed and I made https://github.com/stevector/twig_entity_embed
It also implements the ability to "embed" an entity with the variables entity_type, view_mode and entity_id. Except it does so for Twig. Would you be amenable to a pull request that merges the functionality for Twig into this module?
Comments
Comment #1
stevectorI just spoke with Dave Reid in person at Drupalcon and he liked the idea. He encouraged me to to use code from https://github.com/drupal-media/entity_embed/pull/21 I will do so.
Comment #2
Dave ReidWould still like to push for this in Entity Embed. Maybe I'll take a stab at updating @stevector's code this weekend.
Comment #3
slashrsm CreditAttribution: slashrsm commentedComment #4
slashrsm CreditAttribution: slashrsm commentedComment #5
cs_shadow CreditAttribution: cs_shadow commentedWorking on this on: https://github.com/drupal-media/entity_embed/pull/166
Comment #6
cs_shadow CreditAttribution: cs_shadow commentedComment #7
Dave ReidRebased and merged.