Is it bad practice to print fields that will use Drupal WYSIWYG in Pattern Lab using |raw?

Probably. This is a question I recently asked in the Drupaltwig Slack #pattern-lab channel. Some background: I recently had a situation where I had a “Page introduction” component. This component has 1 field, and it’s a WYSIWYG field, which means it needs to print HTML. Here is the structure of my component: page-introduction |- page-introduction.twig […]

Debugging Twig templates with Drupal VM + Xdebug + PHPStorm

Drupal VM comes preconfigured to support Xdebug but being super new at Twig debugging/Xdebug, it took quite a bit of research to get it to the point where I can debug Twig templates within PHPStorm. I tried to document my journey for others to check out, hopefully it helps! Requirements: Drupal 8.6.x site running in […]