IconViewHelper

final class \TYPO3\CMS\Core\ViewHelpers\IconViewHelper

Extends
AbstractViewHelper

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

__construct()  : mixed
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