Deprecation: #69057 - Deprecate IconUtility and move methods into IconFactory¶
See forge#69057
Description¶
The Icon
class will be removed with TYPO3 CMS 8. All public methods of this class have been marked as deprecated:
Icon
Utility:: skin Img () Icon
Utility:: get Icon () Icon
Utility:: get Sprite Icon () Icon
Utility:: get Sprite Icon For File () Icon
Utility:: get Sprite Icon For Record () Icon
Utility:: get Sprite Icon For Resource () Icon
Utility:: get Sprite Icon Classes ()
The PageTSConfig setting mod.
also has been marked as deprecated.
The Icon
interface will be removed with TYPO3 CMS 8.
Impact¶
Any usage of these methods will trigger a deprecation log entry.
Affected Installations¶
Extensions that call these PHP methods directly. Extensions that register own content elements with an icon for the new content element wizard.
Migration¶
Use the new Icon
class instead of Icon
.
For content element wizard register your icon in Icon
and use the new setting:
mod.