Icon ViewHelper <core:icon>  
                                                            
            
    
    
        
            
        
    ViewHelper to display an icon identified by its icon identifier.
   <core:icon title="Open actions menu" identifier="actions-menu" />
        
        Copied!
    
Go to the source code of this ViewHelper: IconViewHelper.php (GitHub).
Arguments
The following arguments are available for the icon ViewHelper:
alternativeMarkupIdentifier
- 
            - Type
- string
 Alternative icon identifier. Takes precedence over the identifier if supported by the IconProvider.
identifier
- 
            - Type
- string
- Required
- 1
 Identifier of the icon as registered in the Icon Registry.
overlay
- 
            - Type
- string
 Identifier of an overlay icon as registered in the Icon Registry.
size
- 
            - Type
- string
- Default
- 'small'
 Desired size of the icon. All values of the IconSize enum are allowed, these are: "small", "default", "medium", "large" and "mega".
state
- 
            - Type
- string
- Default
- 'default'
 Sets the state of the icon. All values of the Icons.states enum are allowed, these are: "default" and "disabled".
title
- 
            - Type
- string
 Title for the icon