Twig replaced PHPTemplate as Drupal's templating engine in Drupal 8.
It's a Symfony component and it escapes output by default, so printing HTML means reaching for the raw filter.
outputs a variable, {% if %} wraps logic, {# note #} comments.
#drupal #twig
Twig replaced PHPTemplate as Drupal's templating engine in Drupal 8. It's a Symfony component and it escapes output by default, so printing HTML means reaching for the raw filter. outputs a variable, {% if %} wraps logic, {# note #} comments. #drupal #twig
0 vue
Publié le 18/08/2026 06:00
Twig replaced PHPTemplate as Drupal's templating engine in Drupal 8.
It's a Symfony component and it escapes output by default, so printing HTML means reaching for the raw filter.
outputs a variable, {% if %} wraps logic, {# note #} comments.
#drupal #twig
1 commentaire
?
👉 Join WebWash Premium: https://www.webwash.net/premium/