In this course we will learn the fundamentals of control flow in Twig. We’ll learn what’s available to us to more carefully control how and when content is outputted in our Twig templates. Control Flow is how we tell our program (or in our case templates) when and under which circumstances to process our statements. In Twig these statements could be including a new template, setting a variable, running macro, or using a Twig output tag to output something to the screen.
Control Flow in Twig is made up of the following videos: