- πΊπΈUnited States danflanagan8 St. Louis, US
I was just dealing with this and wanted to clarify some things.
The
drupal_block
method was changed in twig_tweak 2.x such that the issue noted in #5, #6, and #7 (and maybe others) is no longer an issue. That's why the approach in #17 works these days.As for #18:
but I can't put the title into the of the block.
How can I do that ?You can add block settings as a second argument to
drupal_block
like so:{{ drupal_block('views_block:espace_partenaire_2022-block_1', {'label': true} ) }}
We are passing
{'label': true}
as the settings for the block. That should show the title.