Review main Merged

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

Garvin Hicking CR +2 V +2 Easy +3 −3 updated 06/13/24, 07:29

Commit message

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

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3