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.linkButton¶
A ViewHelper for adding a link button to the doc header area. It must be a child of <be:moduleLayout>.
Examples¶
Default:
<be:moduleLayout>
<be:moduleLayout.button.linkButton
icon="actions-add"
title="Add record')}"
link="{be:uri.newRecord(table: 'tx_my_table')}"
/>
</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
link¶
- DataType
string
- Required
true
- Description
Link for the button