Toolbar.ifHasDropdown ViewHelper <be:toolbar.ifHasDropdown>

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

class
Type
TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface
Required
1
The toolbar item class to be checked for providing a drop down

else

else
Type
mixed
Value to be returned if the condition if not met.

then

then
Type
mixed
Value to be returned if the condition if met.