ResourceViewHelper

final class \TYPO3\CMS\Fluid\ViewHelpers\ResourceViewHelper

Extends
AbstractViewHelper

ViewHelper for creating system resource objects.

  {f:resource(identifier: 'PKG:typo3/cms-indexed-search:Resources/Public/Css/Stylesheet.css') -> f:uri.resource()}
  {styleSheet -> f:resource() -> f:uri.resource()}

Tags

see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-resource
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-uri-resource

Table of Contents

Methods

__construct()  : mixed
getContentArgumentName()  : string
Explicitly set argument name to be used as content.
initializeArguments()  : void
render()  : StaticResourceInterface

Methods

getContentArgumentName()

Explicitly set argument name to be used as content.

public getContentArgumentName() : string

Return values

string

initializeArguments()

public initializeArguments() : void
On this page