[TYPO3-mvc] How to replace deprecated method FlashMessageContainer->add()

Dirk Wenzel wenzel at webfox03.de
Sun Jan 19 14:10:31 CET 2014


Hi Markus,
thank you for the quick reply.

Am 19.01.14 13:38, schrieb Markus Klein:
> you should use:
> $this->controllerContext->getFlashMessageQueue()->enqueue()
>
> In 6.2 you can also use $this->addFlashMessage() like in Flow
Great! I was just about to add this method to my abstract controller 
class. Now I can make it fit the 6.2 method (and make it available under 
6.1 too).

Kind regards
Dirk




More information about the TYPO3-project-typo3v4mvc mailing list