Preprocessing Paragraphs: A Beginner's Guide

Larry Walangitan, Chromatic

Paragraphs is a powerful and popular contributed module for creating dynamic pages in Drupal 8. Preprocessing allows us easily to create and alter render arrays to generate tailored markup for any paragraphs type.

In this session you will learn about:

Getting started with preprocessing paragraphs and structuring your preprocessing methods.
Creating custom render arrays and overriding twig templates.
Referencing nested entities and pulling data into paragraph twig templates.
How to debug your preprocessing and twig files using contributed modules or composer packages without running out of memory.

You'll leave this session ready to preprocess paragraphs and have a plan of action to reference when debugging any issues. This session is perfect for site-builders or back/front-end devs that are new to preprocessing in Drupal 8 and Twig.

Speakers
Larry Walangitan
Developer @ Chromatic
I am a developer at Chromatic, building and maintaining custom content management solutions using Drupal for enterprise clients. After hours you can find me performing improvisational comedy around town or figuring out new recipes at home.

https://www.midcamp.org/2019/topic-proposal/preprocessing-paragraphs-beginners-guide