Browse Source

Issue #3161956 by tripox, gchauhan: No ID in render array for blocks

merge-requests/4/head 8.x-2.7
gchauhan 4 years ago committed by Chi
parent
commit
ccf146ac6a
  1. 1
      src/TwigExtension.php

1
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(),

Loading…
Cancel
Save