[FEATURE] Add FlashMessage support to ModuleTemplate API 80/44480/5
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 2 Nov 2015 16:48:52 +0000 (17:48 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Mon, 2 Nov 2015 18:09:11 +0000 (19:09 +0100)
commit926900f97ab387c658f2a582130ff49aadab7016
treeaabbf3b64302c2aa654cceae533e6029319c18e4
parentd0b1835e12ee3e0a39e21ee55b08dca178eb8822
[FEATURE] Add FlashMessage support to ModuleTemplate API

Flash messages have different queues, depending on in which context they
are enqueued. The FlashMessageService defaults the queue to
``core.template.flashMessages``, Extbase defaults the queue to
``extbase.flashmessages.$randomPluginQueue``.

Add support for flash messages to ModuleTemplate which makes it possible
to enforce a queue identifier which is rendered in a global scope.

Resolves: #71251
Releases: master
Change-Id: I7e0a0088f8020994dbff162ed5f3e53b6ceeedce
Reviewed-on: https://review.typo3.org/44480
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Template/ModuleTemplate.php
typo3/sysext/backend/Resources/Private/Templates/Module.html
typo3/sysext/core/Documentation/Changelog/master/Feature-71251-AddFlashMessageSupportInModuleTemplateAPI.rst [new file with mode: 0644]