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.
Checks whether a toolbar item provides a dropdown menu
Source code
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.