moduleLayout.button.shortcutButton ViewHelper <backend:moduleLayout.button.shortcutButton>
¶
A ViewHelper for adding a shortcut button to the doc header area. It must be a child of <be:moduleLayout>.
The 'arguments' argument should contain key/value pairs of all arguments relevant for the specific view.
Examples¶
Default:
<be:moduleLayout>
<be:moduleLayout.button.shortcutButton displayName="Shortcut label" arguments="{parameter: '{someValue}'}"/>
</be:moduleLayout>
Copied!
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
arguments¶
- DataType
- mixed
- Default
- array ()
- Required
- false
- Description
- List of relevant GET variables as key/values list to store
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