---
title: "Deprecation: #92922 - Use of record uid in AbstractTreeView::getIcon()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-92922"
source: "Changelog/11.0/Deprecation-92922-UseOfRecordUidInAbstractTreeViewgetIcon.rst"
typo3-version: "11.0"
typo3-major: 11
type: "deprecation"
issue: 92922
forge: "https://forge.typo3.org/issues/92922"
tags: ["Backend", "PHP-API", "NotScanned", "ext:backend"]
rendered: "2026-10-02T10:33:25+00:00"
---

# Deprecation: #92922 - Use of record uid in AbstractTreeView::getIcon() {#deprecation-92922}

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

## Description {#description}

To increase the type safety through the whole TYPO3 core and to properly
reflect the expected value for the parameter (based on its name),
calling `AbstractTreeView::getIcon()` with a record uid as first
argument has been marked as deprecated.

Note: Using a record uid had actually no benefit (performance wise)
since the method fetched the record internally in that case anyways,
but without adding any restrictions or respecting any overlays e.g.
for workspaces.

## Impact {#impact}

Calling the method with an `integer` for parameter `$row`
will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

All installations calling this method with an `integer` for
parameter `$row`.

## Migration {#migration}

Provide the full record row as first argument.
