Browse Source

Issue #3176561 by beram: drupal_block does not use the plugin cache metadata

merge-requests/7/head
beram 4 years ago committed by Chi
parent
commit
b8ea21be16
  1. 1
      src/TwigExtension.php

1
src/TwigExtension.php

@ -501,6 +501,7 @@ class TwigExtension extends AbstractExtension {
CacheableMetadata::createFromRenderArray($build)
->merge(CacheableMetadata::createFromObject($access))
->merge(CacheableMetadata::createFromObject($block_plugin))
->applyTo($build);
return $build;

Loading…
Cancel
Save