When I create a custom block called Lorem ipsum Dolor
, I have not the possibility to choose the machine name. So when I have to make a twig template, the file suggestion is :
block—loremipsumdolor.html.twig
I mean it is without undescore. I found it hard to handle all these twig file when I work on a custom template. It is not human friendly readable.
Is there a way to choose the name of the file name or the block machine name ?
Other example :
Block name : Custom Search form
<!-- FILE NAME SUGGESTIONS:
* block--customsearchform.html.twig
-->
I have not this problem with node :
node--13--teaser.html.twig