#83468Custom icon for "Folder" is not shown
Description
I’ve registered a custom icon for the “Contains” selector in “Page Properties”. the code is here
if (TYPO3_MODE === 'BE') {
/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'apps-pagetree-folder-contains-partnerads',
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
[
'name' => 'rss'
]
);
}
Notice it’s a FontAwesome provided icon – dunno if that could cause the missing rendering of the icon
The custom icon is not being displayed in the page tree (see screenshot) but is working as identifier for ex. TCA tables.
!Screen Shot 2018-01-04 at 13.51.18.png!
Choosing the “frontend user” as “Module” gives the expected rendering of the icon, so the support for SVGIcons is working
The icons doesn’t seem to be registered in the <defs> part of the pagetree, could that be a reason?</defs>
!Screen Shot 2018-01-04 at 14.00.07.png!
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.