CHAPTER 12

image

Theming Your Site Part 1: Theme Functions and a Twig Primer

This chapter focuses on the proper way to theme your site, using a markup language called Twig, using theme functions, using theme template files, and using subthemes. Within the pages of this chapter, you’ll take a look at theming the output from a module by using theme functions and a theme template. This chapter also includes an in-depth Twig primer. (Chapter 13 will introduce you to creating a new theme and a subtheme.) Knowing Drupal programming without knowing how to make your web site look good is not going to go over so well with your clients, employer, or end users. ...

Get Drupal 8 for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.