The dump function shows you which variable or array holds a field value in Twig.
Turn on Twig debugging first, otherwise dump isn't available.
Put dump in your template and it prints the variable onto the page so you can see the structure.
#drupal #twig
The dump function shows you which variable or array holds a field value in Twig. Turn on Twig debugging first, otherwise dump isn't available. Put dump in your template and it prints the variable onto the page so you can see the structure. #drupal #twig
0 vue
Publié le 01/09/2026 09:29
The dump function shows you which variable or array holds a field value in Twig.
Turn on Twig debugging first, otherwise dump isn't available.
Put dump in your template and it prints the variable onto the page so you can see the structure.
#drupal #twig
1 commentaire
?
👉 Join WebWash Premium: https://www.webwash.net/premium/