.. include:: /Includes.rst.txt

===================================================================
Breaking: #78477 - Remove method FlashMessage->getMessageAsMarkup()
===================================================================

See :issue:`78477`

Description
===========

The method :php:`FlashMessage->getMessageAsMarkup()` has been removed.


Impact
======

Using this method will stop working immediately.


Affected Installations
======================

All installations using the mentioned method above.


Migration
=========

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

.. code-block:: php

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

.. index:: Backend, PHP-API
