I update the Twig Tweak module to version 8.x-2.x. After this update I can't render my disabled blocks anymore?

Before I used {{ drupal_block('myblockname') }} to render my block in the twig template.

Now I try to use {{ drupal_entity('block','myblockname', check_access=false) }}. But I don't see my blocks in the frontend?

| improve this question | | | | |
  • What does 'myblockname' stand for? Is it entity ID or plugin ID? Does this work for you when the block is enabled? – ya.teck Feb 28 '18 at 5:52

It was a docker sync problem. Now with {{ drupal_entity('block','myblockname', check_access=false) }} the blocks are visible.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.