Printing Regions in Views in Different Places Using the Same Template markconroyWed, 04/10/2019 - 12:08
We had a case where on some views we needed to print the header above the exposed filters and on others we needed to print the header after the exposed filters. Here's my simple solution.
This is rather simple, in my views template (list.twig I call it, as I am using PatternLab), I created the following:
Now, in my corresponding views template in Drupal - views-view--search.html.twig - I just use that template and set the header_after_exposed variable to true.