[DOCS] 7.5 Docs Part 7/4
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 7.5 / Breaking-69057-DeprecateIconUtilityAndMoveMethodsIntoIconFactory.rst
1 ==========================================================================
2 Breaking: #69057 - Deprecate IconUtility and move methods into IconFactory
3 ==========================================================================
4
5 Description
6 ===========
7
8 While refactoring the ``IconUtility`` to the new ``IconFactory`` class, several methods have been marked as deprecated.
9 In some cases parameters of the old ``IconUtility`` methods are not used anymore.
10 The following list describes the possible breaking changes.
11
12 The second parameter ``$options`` of method ``IconUtility::getSpriteIconForFile()`` is not used anymore.
13 The third parameter ``$options`` of method ``IconUtility::getSpriteIconForRecord()`` is not used anymore.
14
15 The ``IconUtility`` signals ``buildSpriteIconClasses`` and ``buildSpriteHtmlIconTag`` have been dropped and will not be emitted anymore.
16 The ``IconUtility`` hook ``$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_iconworks.php']['overrideIconOverlay']`` has been dropped and will not be called anymore.
17
18
19 Impact
20 ======
21
22 Extensions could break if the methods, signals or hooks above are used.
23
24
25 Affected Installations
26 ======================
27
28 Extensions that call the methods with the ``$options`` parameter or make use of the signals and hook.
29
30
31 Migration
32 =========
33
34 Make use of the new ``IconFactory`` class.