IconViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <core:icon>

FinalYes

ViewHelper to display an icon identified by its icon identifier.

   <core:icon title="Open actions menu" identifier="actions-menu" />
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-core-icon

Table of Contents

Properties

$escapeOutput  : bool
ViewHelper returns HTML, thus we need to disable output escaping

Methods

initializeArguments()  : void
render()  : string
Prints icon html for $identifier key

Properties

$escapeOutput

ViewHelper returns HTML, thus we need to disable output escaping

protected bool $escapeOutput = false

Methods

initializeArguments()

public initializeArguments() : void

render()

Prints icon html for $identifier key

public render() : string
Return values
string

        
On this page

Search results