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.menuItem

A ViewHelper for adding a menu item to a doc header menu. It must be a child of <be:moduleLayout.menu>.

Examples

Default:

<be:moduleLayout>
    <be:moduleLayout.menu identifier="MenuIdentifier">
        <be:moduleLayout.menuItem label="Menu item 1" uri="{f:uri.action(action: 'index')}"/>
    </be:moduleLayout.menu>
</be:moduleLayout>

Arguments

label

DataType

string

Required

false

Description

Label of the menu item

uri

DataType

string

Required

false

Description

Action uri