How do I add a template suggestion for a Views block? I am very much so new to Drupal and have moved to this platform after working with Magento for 5 years.
I am trying to create a template for a view. I have created the twig template under /templates/views/ called views-view--partners--partners--sales.html.twig but do not know how to hook the theme into using this twig template.
You need to name your template based on the rules for Views templates.
For example, &quot;views-view--partners--partners--sales.html.twig&quot; would mean:

viewid: partners
view-display-id: partners
fieldid: sales

If this is correct, then all you need to do is clear the cache and reload; the template should be picked up automatically.