| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function addRequireJsConfiguration(array $params, PageRenderer $pageRenderer): void |
||
| 32 | { |
||
| 33 | if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_BE) { |
||
| 34 | $pageRenderer->addRequireJsConfiguration([ |
||
| 35 | 'shim' => [ |
||
| 36 | 'ckeditor' => ['exports' => 'CKEDITOR'] |
||
| 37 | ], |
||
| 38 | 'paths' => [ |
||
| 39 | 'ckeditor' => PathUtility::getAbsoluteWebPath( |
||
| 40 | ExtensionManagementUtility::extPath('rte_ckeditor', 'Resources/Public/JavaScript/Contrib/') |
||
| 41 | ) . 'ckeditor' |
||
| 42 | ] |
||
| 47 |