Attention
TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
moduleLayout.button.shortcutButton¶
A ViewHelper for adding a shortcut button to the doc header area. It must be a child of <be:moduleLayout>.
Examples¶
Default:
<be:moduleLayout>
<be:moduleLayout.button.shortcutButton displayName="Shortcut label" />
</be:moduleLayout>
Arguments¶
icon¶
- DataType
string
- Required
false
- Description
Icon identifier for the button
title¶
- DataType
string
- Required
false
- Description
Title of the button
disabled¶
- DataType
mixed
- Required
false
- Description
Whether the button is disabled
showLabel¶
- DataType
mixed
- Required
false
- Description
Defines whether to show the title as a label within the button
position¶
- DataType
string
- Required
false
- Description
Position of the button (left or right)
group¶
- DataType
integer
- Required
false
- Description
Button group of the button
displayName¶
- DataType
string
- Required
false
- Description
Name for the shortcut
getVars¶
- DataType
mixed
- Default
array ()
- Required
false
- Description
List of additional GET variables to store. The current id, module and all module arguments will always be stored