In this session we will discuss how to:
- Retrieve needed variables and data using hook_preprocess functions to use this data in Twig templates.
- Use the devel module and xdebug (briefly) to debug your code.
- Set, adjust and view variables before they are printed on the page and briefly discuss HOOK_form_alters as well.
- Create a render array, what that does and how to use this in Twig for rendering custom content.
Session Recording: https://www.youtube.com/watch?v=GD03TSttMgM
Session Slides: https://bit.ly/2XiWxz1