PREPROCESSING PARAGRAPHS:
A BEGINNERS GUIDE
DRUPALCON SEATTLE WEDNESDAY 4:00-4:30PM ROOM 602-604
PREPROCESSING PARAGRAPHS: A BEGINNERS GUIDE DRUPALCON SEATTLE - - PowerPoint PPT Presentation
PREPROCESSING PARAGRAPHS: A BEGINNERS GUIDE DRUPALCON SEATTLE WEDNESDAY 4:00-4:30PM ROOM 602-604 LARRY WALANGITAN Senior Developer at Chromatic @larrywalangitan CHROMATIC https://chromatichq.com @chromatichq HTTPS://GIT.IO/ fk f6Y
A BEGINNERS GUIDE
DRUPALCON SEATTLE WEDNESDAY 4:00-4:30PM ROOM 602-604
Senior Developer at Chromatic @larrywalangitan
https://chromatichq.com @chromatichq
methods.
twig templates.
Each paragraph type is defjned in hook_theme. All preprocessing handled by a Class. Each paragraph type has a corresponding twig template. Each paragraph type has a corresponding method.
hook_theme
with our own custom variables.
and their default values.
template lives
render array defjned in hook_theme
chromatic_paragraphs.paragraphs_preprocess
TEMPLATE_PREPROCESS_PARAGRAPH__FOO
paragraph__foo template . paragraph—foo.html.twig
preprocessing method.
Each paragraph type is defjned in hook_theme. All preprocessing handled by a Class. Each paragraph type has a corresponding twig template. Each paragraph type has a corresponding method.
All preprocessing happens in .theme Each paragraph type is defjned in hook_theme. Each paragraph type has a corresponding twig template. Each paragraph type has a corresponding template override function.
Join us for contribution opportunities
Friday, April 12, 2019 Mentored Contributions
9:00-18:00 Room: 602
First Time Contributor Workshop General Contributions
9:00-12:00 Room: 606 9:00-18:00 Room: 6A
#DrupalContributions
What did you think?
Locate this session at the DrupalCon Seattle website:
https://events.drupal.org/seattle2019/sessions/preprocessing-paragraphs-beginners-guide
Take the Survey!
https://www.surveymonkey.com/r/DrupalConSeattle