@@ -33,6 +33,12 @@ class NodeContextCombinator
3333 */
3434 protected $ contextFactory ;
3535
36+ /**
37+ * @Flow\InjectConfiguration(path="nodeRendering.recurseHiddenContent", package="Flowpack.DecoupledContentStore")
38+ * @var ContextFactoryInterface
39+ */
40+ protected $ recurseHiddenContent ;
41+
3642 /**
3743 * Iterate over the node with the given identifier and site in contexts for all available presets (if it exists as a variant)
3844 *
@@ -86,7 +92,8 @@ public function siteNodeInContexts(Site $site, string $workspaceName = 'live'):
8692 'currentSite ' => $ site ,
8793 'workspaceName ' => $ workspaceName ,
8894 'dimensions ' => [],
89- 'targetDimensions ' => []
95+ 'targetDimensions ' => [],
96+ 'invisibleContentShown ' => $ this ->recurseHiddenContent ,
9097 ));
9198
9299 $ siteNode = $ contentContext ->getNode ('/sites/ ' . $ site ->getNodeName ());
@@ -101,7 +108,8 @@ public function siteNodeInContexts(Site $site, string $workspaceName = 'live'):
101108 'currentSite ' => $ site ,
102109 'workspaceName ' => $ workspaceName ,
103110 'dimensions ' => $ dimensions ,
104- 'targetDimensions ' => []
111+ 'targetDimensions ' => [],
112+ 'invisibleContentShown ' => $ this ->recurseHiddenContent ,
105113 ));
106114
107115 $ siteNode = $ contentContext ->getNode ('/sites/ ' . $ site ->getNodeName ());
0 commit comments