---
title: "Deprecation: #83942 - Deprecated FileFacade::getIcon"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-83942"
source: "Changelog/9.2/Deprecation-83942-DeprecatedFileFacadegetIcon.rst"
typo3-version: "9.2"
typo3-major: 9
type: "deprecation"
issue: 83942
forge: "https://forge.typo3.org/issues/83942"
tags: ["FAL", "FullyScanned"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Deprecation: #83942 - Deprecated FileFacade::getIcon {#deprecation-83942}

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

## Description {#description}

The method `\TYPO3\CMS\Filelist\FileFacade::getIcon` has been marked as deprecated.

## Impact {#impact}

Calling the method `\TYPO3\CMS\Filelist\FileFacade::getIcon` will trigger a deprecation warning.

## Affected Installations {#affected-installations}

Instances with extensions using the method `\TYPO3\CMS\Filelist\FileFacade::getIcon`

## Migration {#migration}

Either use the ViewHelper `<core:iconForResource resource="{file}" />` or
`GeneralUtility::makeInstance(IconFactory::class)->getIconForResource($resource)` to render a resource-based icon.
