Toolbar.ifHasDropdown ViewHelper <be:toolbar.ifHasDropdown>
Internal
This ViewHelper is marked as internal. It is subject to be changed without notice. Use at your own risk.
ViewHelper condition to checks whether a toolbar item provides a dropdown menu.
<be:toolbar.ifHasDropdown class="{toolbarItem}">
<f:then>...</f:then>
<f:else>...</f:else>
</be:toolbar.ifHasDropdown>
Copied!
Go to the source code of this ViewHelper: Toolbar\IfHasDropdownViewHelper.php (GitHub).
Arguments
The following arguments are available for the toolbar.ifHasDropdown ViewHelper:
class
-
- Type
- TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface
- Required
- 1
The toolbar item class to be checked for providing a drop down
else
-
- Type
- mixed
Value to be returned if the condition if not met.
then
-
- Type
- mixed
Value to be returned if the condition if met.