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?

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

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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