Drupalnator Themestation: Understanding Drupal 8's New Theming Layers
summary
Drupal 8 replaces PHP templates with Twig and demonstrates concrete theming steps: file layout, Twig replaces PHP templates with filters, tags and trans, and how to attach assets via libraries (jQuery must be a dependency). Uses base themes Classy or Stable and recommends BEM for CSS. Shows Drupal Console commands to Drupal Console generates boilerplate themes, create Twig extensions, import config (config.install) and run chain commands to deploy. Enables theme debug for template suggestions, warns that dump/Kint can crash server/browser on large render arrays.
AI-written summary · about
