Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 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 v11 here: TYPO3 ELTS.
Be.menus.actionMenuItemGroup ViewHelper <f:be.menus.actionMenuItemGroup>
ViewHelper which groups options of an option tag.
Example
<f:be.menus.actionMenu>
<f:be.menus.actionMenuItem label="Default: Welcome" controller="Default" action="index" />
<f:be.menus.actionMenuItem label="Community: get in touch" controller="Community" action="index" />
<f:be.menus.actionMenuItemGroup label="Information">
<f:be.menus.actionMenuItem label="PHP Information" controller="Information" action="listPhpInfo" />
<f:be.menus.actionMenuItem label="Documentation" controller="Information" action="documentation" />
<f:be.menus.actionMenuItem label="Hooks" controller="Information" action="hooks" />
<f:be.menus.actionMenuItem label="Signals" controller="Information" action="signals" />
<f:be.menus.actionMenuItem label="XClasses" controller="Information" action="xclass" />
</f:be.menus.actionMenuItemGroup>
</f:be.menus.actionMenu>
Source code
Go to the source code of this ViewHelper: ActionMenuItemGroupViewHelper.php (GitHub).
Arguments
The following arguments are available for <f:
:
Name | Type | Default |
---|---|---|
mixed | ||
mixed | ||
mixed | ||
string | ||
string |
additionalAttributes
-
- Type
- mixed
Additional tag attributes. They will be added directly to the resulting HTML tag.
data
-
- Type
- mixed
Additional data-* attributes. They will each be added with a "data-" prefix.
aria
-
- Type
- mixed
Additional aria-* attributes. They will each be added with a "aria-" prefix.
defaultController
-
- Type
- string
The default controller to be used
label
-
- Type
- string
The label of the option group