Twig

All posts tagged with: Twig

Drupal Twig Template Structure of (Some) Form Elements

2020. Mar. 18. · 1 min read
I built a form with Webform module and checked Twig debug info.

Drupal 8 Twig: add custom CSS classes to menus (based on menu name)

2016. Apr. 30. · 8 min read
Twig templates of Drupal 8 make our life much easier when we want to customize the HTML output. But when the goal is to change a Drupal 8 menu we have to use the menu.html.twig template which is not the most friendly one and it’s customization can be tricky because of several reasons. So I wanna show you how I did it.

Drupal 8 theming basics

2014. Apr. 13. · 8 min read
You can read below – kind of – a transcript of the presentation I gave at Drupal Developer Days, Szeged 2014.