.. include:: /Includes.rst.txt

.. _breaking-78477-1668719172:

===================================================================
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
