moduleLayout.menuItem ViewHelper <backend: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>

Copied!

Arguments

label

DataType
string
Required
true
Description
Label of the menu item

uri

DataType
string
Required
true
Description
Action uri