This document provides an overview of new features for theming in Drupal 8, including the transition from PHPTemplate to the Twig templating language. Key points include:
- Drupal 8 uses Twig instead of PHPTemplate for improved security, syntax, and separation of logic from presentation.
- Twig templates, YAML configuration, and fewer hardcoded HTML classes/IDs provide better separation of concerns between backend and frontend.
- The theme layer has been updated, removing processing hooks in favor of template preprocessing and theme suggestions to alter output.
- Core includes starter themes like Bartik and modules to help with responsive design and development.