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.
By zenimagine on
I installed the Group module on Drupal 8 :
https://www.drupal.org/project/group
If I add the code {{ group.id }}
in the TWIG of the group, it does not display the ID.
How to print the group ID in TWIG ?
Comments
try this
{{ group.id.value }}