Be.uri ViewHelper <f:be.uri>

A ViewHelper for creating URIs to modules.

Examples

URI to the web_ts module on page 92:

<f:be.uri route="web_ts" parameters="{id: 92}"/>
Copied!

/typo3/module/web/ts?token=b6e9c9f&id=92

Inline notation:

{f:be.uri(route: 'web_ts', parameters: '{id: 92}')}
Copied!

/typo3/module/web/ts?token=b6e9c9f&id=92

Source code

Go to the source code of this ViewHelper: Be\UriViewHelper.php (GitHub).

Arguments

The following arguments are available for the be.uri ViewHelper:

parameters

parameters
Type
array
Default
array ( )
An array of parameters

referenceType

referenceType
Type
string
Default
'absolute'
The type of reference to be generated (one of the constants)

route

route
Type
string
Required
1
The name of the route