Drupal 8 Theming Deep Dive
We are going to dive into the theme layer of Drupal 8. The main goal of this session is to understand how to leverage the theme layer from PHP to TWIG.
You will learn the main differences with Drupal 7 and how to build a theme from scratch. Some of the key points are:
- YAML files
- CSS and JS assets management
- Preprocess functions
- HOOK_theme_suggestions_HOOK()
- TWIG templating
- Adding classes
- Admin form and config management
- Config files
- Declaring regions
- CSS architecture
- Asset agregation / compression
- TWIG Debug
- Entity caching
- Translation in template files
- Javascript libraries
This session is for both newbies and Drupal 7 themer. Many code examples will illustrate the talk.