Resource ViewHelper <f:resource> 

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()}
Copied!

Go to the source code of this ViewHelper: ResourceViewHelper.php (GitHub).

Arguments

The following arguments are available for the resource ViewHelper:

identifier

identifier
Type
string
The resource identifier given as argument or child