moduleLayout.button.linkButton ViewHelper <backend: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>
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
link¶
- DataType
- string
- Required
- true
- Description
- Link for the button