[TYPO3-english] addTcaTypeIcon

Philipp Gampe philipp.gampe at typo3.org
Sat Jul 23 10:08:51 CEST 2016


Hi Jacco van der Post,

Jacco van der Post wrote:

> To get an icon in the tree it used to be
> 
> \TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages',
> 'contains-myext', '../typo3conf/ext/my_ext/ext_icon.gif');
> 
> addTcaTypeIcon is deprecated and doesnt work anymore in 7.6, any hint
> how to do it now?

Took me some searching too, here is the corresponding change documentation.

https://docs.typo3.org/typo3cms/extensions/core/7.6/Changelog/7.5/Feature-68741-IntroduceNewIconFactoryAsBaseForReplaceTheIconSkinningAPI.html

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
TYPO3 CMS Certified Integrator – Certified Developer – Active contributor
TYPO3 .... inspiring people to share!



More information about the TYPO3-english mailing list