IconForResourceViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

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

FinalYes

ViewHelper to displays an icon for a FAL resource (file or folder means a `TYPO3\CMS\Core\Resource\ResourceInterface`).

   <core:iconForResource resource="{file.resource}" />
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-core-iconforresource
see
ResourceInterface

Table of Contents

Properties

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

Methods

__construct()  : mixed
initializeArguments()  : void
render()  : string

Properties

$escapeOutput

ViewHelper returns HTML, thus we need to disable output escaping

protected bool $escapeOutput = false

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

        
On this page

Search results