[TASK] Better example for FlashMessage finisher 31/60631/2
authorStefan Frömken <noreply@example.com>
Tue, 30 Apr 2019 08:11:44 +0000 (10:11 +0200)
committerDaniel Goerz <daniel.goerz@posteo.de>
Wed, 5 Jun 2019 19:12:36 +0000 (21:12 +0200)
commita6651f3d641536c3dc7a84034cbd9837748630e4
treea7f7dc3a4c48b88a4893a15e17202c7ab261436b
parent849a22da8443d405ddbc98d698e9fa5e8281e1d4
[TASK] Better example for FlashMessage finisher

- Show how to use messageArguments
- messageCode is mandatory (Don't know why, but yes it is)
--> As it is mandatory, it does not make sense to write `\1dif needed`\1d
- remove `\1dDefault value`\1d from mandatory options
--> As all calls in TYPO3 Core are strict types, a value like `\1dnull`\1d
will throw an Exception

Releases: master
Resolves: #88247
Change-Id: Ibf101a7c35ae01c975dbcaf162ff38f4eef27221
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60631
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Jörg Bösche <typo3@joergboesche.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
typo3/sysext/form/Documentation/I/ApiReference/Index.rst