---
title: "Deprecation: #78477 - Refactoring of FlashMessage rendering"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-78477"
source: "Changelog/8.6/Deprecation-78477-RefactoringOfFlashMessageRendering.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #78477 - Refactoring of FlashMessage rendering

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

## Description

The following methods and properties within `FlashMessage::class` have been marked as deprecated:

-   `FlashMessage->classes`
-   `FlashMessage->icons`
-   `FlashMessage->getClass()`
-   `FlashMessage->getIconName()`

## Impact

Using these properties and methods will stop working in TYPO3 v9.

## Affected Installations

All installations using the mentioned methods and properties above.

## Migration

Use the new `FlashMessageRendererResolver::class`, for example:

```php
GeneralUtility::makeInstance(FlashMessageRendererResolver::class)->resolve()->render()
```
