diff --git a/src/TwigExtension.php b/src/TwigExtension.php index 2dba786..0840f67 100644 --- a/src/TwigExtension.php +++ b/src/TwigExtension.php @@ -476,6 +476,7 @@ class TwigExtension extends AbstractExtension { if ($wrapper && !Element::isEmpty($build['content'])) { $build += [ '#theme' => 'block', + '#id' => $configuration['id'] ?? $id, '#attributes' => [], '#contextual_links' => [], '#configuration' => $block_plugin->getConfiguration(),