Last updated July 28, 2017
Theming8.3.x

To effectively comprehend a Twig template file, you'll need to recognize Twig's syntax delimiters. Twig has three syntax delimiters: one for printing out variables, another for performing actions or logic, and lastly, one for comments, also used for docblocks. In this tutorial, we'll cover each of the syntax delimiters and show examples of each from Drupal's core template files. By the end of these lesson you should be able to recognize each of Twig's syntax delimiters.