File tree Expand file tree Collapse file tree 4 files changed +19
-11
lines changed
Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ return [
4+ 'content-codeblock ' => [
5+ 'provider ' => \TYPO3 \CMS \Core \Imaging \IconProvider \SvgIconProvider::class,
6+ 'source ' => 'EXT:codeblock/Resources/Public/Icons/content-codeblock.svg ' ,
7+ ]
8+ ];
Original file line number Diff line number Diff line change 77 "require" : {
88 "scrivo/highlight.php" : " ^9.15" ,
99 "php" : " ^7.4 || ~8.0" ,
10- "typo3/cms-core" : " ^10.4 || ^11.5 || ^12.0 || ^13.0"
10+ "typo3/cms-core" : " ^10.4 || ^11.5 || ^12.0 || ^13.0 || ^14.0 "
1111 },
1212 "extra" : {
1313 "typo3/cms" : {
Original file line number Diff line number Diff line change 1212 'version ' => '2.1.0 ' ,
1313 'constraints ' => [
1414 'depends ' => [
15- 'typo3 ' => '10.4.0-13 .99.99 ' ,
15+ 'typo3 ' => '10.4.0-14 .99.99 ' ,
1616 ],
1717 ],
1818];
Original file line number Diff line number Diff line change 66 if ((\TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Information \Typo3Version::class))->getMajorVersion () < 12 ) {
77 $ GLOBALS ['TYPO3_CONF_VARS ' ]['SC_OPTIONS ' ]['cms/layout/class.tx_cms_layout.php ' ]['tt_content_drawItem ' ]['codeblock ' ] =
88 \B13 \Codeblock \Hooks \CodeblockPreviewRenderer::class;
9- }
109
11- $ iconRegistry = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Imaging \IconRegistry::class);
12- $ iconRegistry ->registerIcon (
13- 'content-codeblock ' ,
14- \TYPO3 \CMS \Core \Imaging \IconProvider \SvgIconProvider::class,
15- [
16- 'source ' => 'EXT:codeblock/Resources/Public/Icons/content-codeblock.svg ' ,
17- ]
18- );
10+ $ iconRegistry = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Imaging \IconRegistry::class);
11+ $ iconRegistry ->registerIcon (
12+ 'content-codeblock ' ,
13+ \TYPO3 \CMS \Core \Imaging \IconProvider \SvgIconProvider::class,
14+ [
15+ 'source ' => 'EXT:codeblock/Resources/Public/Icons/content-codeblock.svg ' ,
16+ ]
17+ );
18+ }
1919});
You can’t perform that action at this time.
0 commit comments