| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function renderBlock(BlockInterface $page, array $additionalContext = []): StreamInterface |
||
| 29 | { |
||
| 30 | $theme = $this->themeFactory->createTheme($page->getThemeDescriptor()); |
||
| 31 | |||
| 32 | $context = array_merge($page->getContext(), $additionalContext); |
||
| 33 | |||
| 34 | return $theme->render($context); |
||
| 35 | } |
||
| 37 |