---
title: "Breaking: #101133 - IconFactory->getIcon() signature change"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-101133-1687875354"
source: "Changelog/13.0/Breaking-101133-IconFactorySignatureChange.rst"
typo3-version: "13.0"
typo3-major: 13
type: "breaking"
issue: 101133
forge: "https://forge.typo3.org/issues/101133"
tags: ["Backend", "NotScanned", "ext:core"]
rendered: "2026-09-18T16:16:44+00:00"
---

# Breaking: #101133 - IconFactory->getIcon() signature change {#breaking-101133-1687875354}

See [forge#101133](https://forge.typo3.org/issues/101133)

## Description {#description}

The public method `getIcon()` in `\TYPO3\CMS\Core\Imaging\IconFactory`
has changed its 4th parameter, in order to prepare the removal
of class `\TYPO3\CMS\Core\Type\Icon\IconState`.

## Impact {#impact}

Custom extensions extending the `getIcon()` method of class
`\TYPO3\CMS\Core\Imaging\IconFactory` not having the same signature
will fail with a PHP fatal error.

## Affected installations {#affected-installations}

Custom extensions extending the `getIcon()` method from class
`\TYPO3\CMS\Core\Imaging\IconFactory`.

## Migration {#migration}

Adapt the 4th parameter of `getIcon()` to be of type
`\TYPO3\CMS\Core\Type\Icon\IconState|IconState $state = null`

In addition, adapt the code in the body of the method.
