Toolbar.ifHasDropdown ViewHelper <be:toolbar.ifHasDropdown>
Note
This ViewHelper is not available by default.
Import its namespace
{namespace be=TYPO3\ in the Fluid file or
xmlns: in the opening HTML tag.
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.
Go to the source code of this ViewHelper: Toolbar\IfHasDropdownViewHelper.php (GitHub).
Arguments of the <be: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.