Attention
TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
be.buttons.shortcut¶
ViewHelper which returns shortcut button with icon.
Note
This ViewHelper is experimental!
Examples¶
Default:
<f:be.buttons.shortcut />
Shortcut button as known from the TYPO3 backend. By default the current page id, module name and all module arguments will be stored.
Explicitly set parameters to be stored in the shortcut:
<f:be.buttons.shortcut getVars="{0: 'route', 1: 'myOwnPrefix'}" setVars="{0: 'function'}" />
Shortcut button as known from the TYPO3 backend. This time only the specified GET parameters and SET[]-settings will be stored.
Arguments¶
getVars¶
- DataType
mixed
- Default
array ()
- Required
false
- Description
List of GET variables to store. By default the current id, module and all module arguments will be stored
setVars¶
- DataType
mixed
- Default
array ()
- Required
false
- Description
List of SET[] variables to store. See DocumentTemplate::makeShortcutIcon(). Normally won't be used by Extbase modules