- Issue created by @msn5158
- 🇨🇷Costa Rica hjuarez20
Hi @msn5158
You can use the token to render the value in twig
{{ drupal_token('node:total-count', {node}) }}
Thank you, I want to ask, what does this mean? {node}, is it node.nid?
- 🇫🇷France fgm Paris, France
This is to reference the node from the context of your template, providing the node context to the template, as explained in e.g. #2992921: how to get drupal_token arguement/context → .
- Status changed to Fixed
3 months ago 2:32am 18 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.