In views.yml, is it possible to assign params and a querytype to the main pagelayout? Like so?
pagelayout: "pagelayout.html.twig" params: query: query_type: "SitewideAlert" assign_results_to: "sitewide_alert"
I’m looking to implement a site-wide alert message, that would be available on all pages of the site.
When those params are in place in views.yml, I get “The file does not contain valid YAML”. So either there’s something wrong with my structure, or this is not an accepted setting for the pagelayout.