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.

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