Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function renderBlock(BlockInterface $page, array $additionalContext = []): StreamInterface |
||
36 | { |
||
37 | $theme = $this->themeFactory->createTheme($page->getThemeDescriptor()); |
||
38 | |||
39 | $context = $this->contextMerger->mergeContexts($page->getContext(), $additionalContext); |
||
40 | |||
41 | return $theme->render($context); |
||
42 | } |
||
44 |