---
title: "Feature: #97595 - Provide default queue for notifications"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-97595-1652121042"
source: "Changelog/12.0/Feature-97595-ProvideDefaultQueueForNotifications.rst"
typo3-version: "12.0"
typo3-major: 12
type: "feature"
issue: 97595
forge: "https://forge.typo3.org/issues/97595"
tags: ["Backend", "ext:backend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #97595 - Provide default queue for notifications {#feature-97595-1652121042}

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

## Description {#description}

To allow dispatching notifications to the user the easy way, a new global flash
message queue, identified by
`TYPO3\CMS\Core\Messaging\FlashMessageQueue::NOTIFICATION_QUEUE`, is
introduced that takes the flash message and renders it as a notification on the
top-right edge of the backend.

Backend modules based on `\TYPO3\CMS\Backend\Template\ModuleTemplate`
automatically gain advantage of this feature.

## Example {#example}

```php
$flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
$notificationQueue = $flashMessageService->getMessageQueueByIdentifier(
    FlashMessageQueue::NOTIFICATION_QUEUE
);
$flashMessage = GeneralUtility::makeInstance(
    FlashMessage::class,
    'I\'m a message rendered as notification',
    'Hooray!',
    FlashMessage::OK
);
$notificationQueue->enqueue($flashMessage);
```

## Impact {#impact}

All flash messages dispatched to the flash message queue
`FlashMessageQueue::NOTIFICATION_QUEUE` will be rendered as notifications
in the browser.
