Twig Blocks are very useful if you are a Drupal developer. They are used for inheritance and act as placeholders and replacements at the same time. However, they can be confusing in part because as a Drupal developer the first thing one thinks when they hear “Block”, is Drupal blocks. Twig blocks are not related in any way to Drupal blocks.
In this tutorial, we cover what Twig blocks are and how you can take advantage of them while doing front-end or back-end Drupal development.
Mediacurrent Learning Bits
Join us every week for new tutorials on Front-End Development, Back-End Development, Drupal, Accessibility, and more! Subscribe to our YouTube channel to get alerts for new tutorials.
Interested in Training?
Learn more about Mediacurrent's training services and how we can help your team level up. Our team of Drupal and open source experts who partner with some of the world's most recognized brands can help your entire team drive measurable success through quality training.