Skip to content
Snippets Groups Projects
Commit eb3e677e authored by Garvin Hicking's avatar Garvin Hicking Committed by Christian Kuhn
Browse files

[DOCS] Note about reserved keywords for Extbase arguments ("format")

Extbase reserves a couple of keywords for internal use:

* action
* controller
* format (resolving fluid templates for HTML, json, ...)
* __trustedProperties
* __referrer

The notiation "__" (and "@" for sub-arrays) is indiciative
of being reserved keywords, however action/controller/format
are not.

These are now mentioned specifically in the Fluid ViewHelper
"arguments" parameter, so that they can show up in the
auto-generated documentation.

This should help to prevent integrators and developers from
advertly using an argument like "format" as a custom
variable/property name.

Efforts have been made to document this also here:

https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/pull/4525
https://github.com/TYPO3-Documentation/TYPO3CMS-Exceptions/pull/155

Resolves: #102246
Releases: main, 12.4, 11.5
Change-Id: I55a306aaa0ba783f9202350d198c9fdf08f5a997
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84673


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 8e46026f
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment