File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Configuration/TCA/Overrides Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+
4+ $ GLOBALS ['TCA ' ]['pages ' ]['columns ' ]['module ' ]['config ' ]['items ' ][$ _EXTKEY ] = [
5+ 'LLL:EXT:faq/Resources/Private/Language/locallang.xlf:sysfolder ' ,
6+ $ _EXTKEY ,
7+ 'contains-faq '
8+ ];
9+ $ GLOBALS ['TCA ' ]['pages ' ]['ctrl ' ]['typeicon_classes ' ]['contains-faq ' ] = 'apps-pagetree-folder-contains-faq ' ;
10+
Original file line number Diff line number Diff line change 77\TYPO3 \CMS \Extbase \Utility \ExtensionUtility::registerPlugin ($ _EXTKEY , 'FaqTeaser ' , 'FAQ Teaser ' );
88\TYPO3 \CMS \Extbase \Utility \ExtensionUtility::registerPlugin ($ _EXTKEY , 'FaqEnter ' , 'FAQ Eingabe ' );
99
10- $ GLOBALS ['TCA ' ]['pages ' ]['columns ' ]['module ' ]['config ' ]['items ' ][$ _EXTKEY ]['0 ' ] = 'LLL:EXT:faq/Resources/Private/Language/locallang.xlf:sysfolder ' ;
11- $ GLOBALS ['TCA ' ]['pages ' ]['columns ' ]['module ' ]['config ' ]['items ' ][$ _EXTKEY ]['1 ' ] = $ _EXTKEY ;
12-
1310// module icon
1411$ extensionIcon = \HDNET \Autoloader \Utility \IconUtility::getByExtensionKey ('faq ' , true );
1512/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
1916 \TYPO3 \CMS \Core \Imaging \IconProvider \BitmapIconProvider::class,
2017 ['source ' => $ extensionIcon ]
2118);
19+ $ iconRegistry ->registerIcon (
20+ 'contains-faq ' ,
21+ \TYPO3 \CMS \Core \Imaging \IconProvider \BitmapIconProvider::class,
22+ ['source ' => $ extensionIcon ]
23+ );
2224
2325\TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::addPageTSConfig ('
2426mod {
You can’t perform that action at this time.
0 commit comments