Last updated July 26, 2017
Theming8.3.x

Every theme can contain an optional THEMENAME.theme file. This file contains additional business logic written in PHP and is primarily used for manipulation of the variables available for a template file, and suggesting alternative candidate template file names.

In this tutorial we'll learn:

  • The use-case for THEMENAME.theme files
  • Where to find them
  • When you might need to edit one