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