Toolbar.attributes ViewHelper <be:toolbar.attributes>
¶
Note
This ViewHelper is not available by default.
Import its namespace
{namespace be=TYPO3\CMS\Backend\ViewHelpers\}
in the Fluid file or
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers/"
in the opening HTML tag.
Builds an attribute string for use in rendered toolbar items
Source code¶
Go to the source code of this ViewHelper: AttributesViewHelper.php (GitHub).
Arguments¶
The following arguments are available for <be:toolbar.attributes>
:
Name | Type | Default |
---|---|---|
mixed |
-
class
¶ -
- Type
- mixed
- Required
true
Class being converted to a string for usage as id attribute