Chapter 12. Tips, Tricks, and Where to Go from Here
Now that we have followed the frontend developer's path of taking a design or mockup and converting it into a working Drupal 8 theme, we have to ask that burning question, what next? The answer to that question depends on the problems we need to solve.
For example, what about theming some more common, but often forgotten, admin sections, such as the local tasks menu or status messages block? How about extending Twig templates to reduce having to manage markup in multiple places? However, the most common question is what about contributed modules that can help us with our theming?
In this final chapter, we will take a look at answering these last-minute questions, as we cover the following:
- We will begin with cleaning up our theme by adding some additional Twig templates for both the local tasks menu and the status messages block.
- Next, we will take a look at extending Twig templates by using template inheritance to reduce the...