File tree Expand file tree Collapse file tree 4 files changed +19
-9
lines changed
Expand file tree Collapse file tree 4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ return [
4+ 'ctype-cta ' => [
5+ 'provider ' => \TYPO3 \CMS \Core \Imaging \IconProvider \SvgIconProvider::class,
6+ 'source ' => 'EXT:cta/Resources/Public/Icons/Cta.svg ' ,
7+ ]
8+ ];
Original file line number Diff line number Diff line change 99 }
1010 },
1111 "require" : {
12- "typo3/cms-backend" : " ^10.4 || ^11.0 || ^12.4 || ^13.0" ,
13- "typo3/cms-fluid-styled-content" : " ^10.4 || ^11.0 || ^12.4 || ^13.0"
12+ "typo3/cms-backend" : " ^10.4 || ^11.0 || ^12.4 || ^13.0 || ^14.0 " ,
13+ "typo3/cms-fluid-styled-content" : " ^10.4 || ^11.0 || ^12.4 || ^13.0 || ^14.0 "
1414 }
1515}
Original file line number Diff line number Diff line change 1212 'constraints ' => [
1313 'depends ' => [
1414 'fluid_styled_content ' => '* ' ,
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 1010 */
1111
1212call_user_func (static function () {
13- $ iconRegistry = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Imaging \IconRegistry::class);
14- $ iconRegistry ->registerIcon (
15- 'ctype-cta ' ,
16- \TYPO3 \CMS \Core \Imaging \IconProvider \SvgIconProvider::class,
17- ['source ' => 'EXT:cta/Resources/Public/Icons/Cta.svg ' ]
18- );
13+ if ((new \TYPO3 \CMS \Core \Information \Typo3Version ())->getMajorVersion () < 12 ) {
14+ $ iconRegistry = \TYPO3 \CMS \Core \Utility \GeneralUtility::makeInstance (\TYPO3 \CMS \Core \Imaging \IconRegistry::class);
15+ $ iconRegistry ->registerIcon (
16+ 'ctype-cta ' ,
17+ \TYPO3 \CMS \Core \Imaging \IconProvider \SvgIconProvider::class,
18+ ['source ' => 'EXT:cta/Resources/Public/Icons/Cta.svg ' ]
19+ );
20+ }
1921});
You can’t perform that action at this time.
0 commit comments