I have enabled twig debug. The following source snippet shows that there are some templates has no any suggestions such as views-view.html.twig
:
<!-- THEME DEBUG --> <!-- THEME HOOK: 'block' --> <!-- FILE NAME SUGGESTIONS: x block--saidbakr-content.html.twig * block--system-main-block.html.twig * block--system.html.twig * block.html.twig --> <!-- BEGIN OUTPUT from 'themes/saidbakr/templates/block--saidbakr-content.html.twig' --> <section class="row" id="website_templates"> <div class="row"> <div class="col-xs-12 col-md-12"> <h3>Latest Articles</h3> </div> </div> <div class="row"> <div class="col-xs-12 col-md-12"> <!-- THEME DEBUG --> <!-- THEME HOOK: 'container' --> <!-- BEGIN OUTPUT from 'themes/saidbakr/templates/container.html.twig' --> <div class="views-element-container"> <!-- THEME DEBUG --> <!-- THEME HOOK: 'views_view' --> <!-- BEGIN OUTPUT from 'themes/saidbakr/templates/views-view.html.twig' --> <div class="js-view-dom-id-e66395c77e6b1af2b2d7c58650cebe72cb3979b5875ff26b9f67fcdf025f6b47 item_container" style="position: relative; width: 338px; height: 220px;">
The question is: why those templates has no suggestions like others? Is there any way to have suggestions for them or even any way to replace them with another templates files for specified place such as, hypothesis name of course, node--article--teaser--view-views
Sponsored by SupremePR