[FEATURE] Added support for multiple FlashMessage queues 89/36589/10
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 14 Jul 2015 18:43:06 +0000 (20:43 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Sun, 16 Aug 2015 13:55:42 +0000 (15:55 +0200)
commitba7940e739e667eade551eb149d5190a61661a22
treef56ee838c523b8ff0b381982843f4819e80b316f
parenta8eff85a186ec3f92ca4f5fef521271298d68f4a
[FEATURE] Added support for multiple FlashMessage queues

Each controller defaults to its own queue.
Allow to access other queues like queues from different
controllers or split message into multiple queues for
specific parts in one controller

The FlashMessageService already supports multiple queues.
It just has a different default-queue.

Since FlashMessageService already is a Singleton, avoid
separate caching of queues in the ControllerContext.

Change-Id: I5e0bb867c6b02979b899e46bb42bf209b6a8e47a
Resolves: #64726
Releases: master
Reviewed-on: http://review.typo3.org/36589
Reviewed-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-64726-UsingArbitraryFlashmessageQueues.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php
typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php