Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function render() |
||
33 | { |
||
34 | if (false === self::$assetIncluded) { |
||
35 | self::$assetIncluded = true; |
||
36 | |||
37 | $templatePath = GeneralUtility::getFileAbsFileName('EXT:' . ExtensionService::get()->getExtensionKey() . '/Resources/Public/StyleSheets/Form.ErrorBlock.css'); |
||
38 | |||
39 | $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class); |
||
40 | $pageRenderer->addCssFile(StringService::get()->getResourceRelativePath($templatePath)); |
||
41 | } |
||
42 | } |
||
43 | } |
||
44 |