Be.uri ViewHelper <f:be.uri> 

ViewHelper for creating URIs to backend modules.

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

Table of contents

Examples 

URI to the web_ts module on page 92:

packages/my_extension/Resources/Private/Templates/Module/Index.fluid.html
<f:be.uri route="web_ts" parameters="{id: 92}"/>
Copied!
Output
/typo3/module/web/ts?token=b6e9c9f&id=92
Copied!

Inline notation:

packages/my_extension/Resources/Private/Templates/Module/Index.fluid.html
{f:be.uri(route: 'web_ts', parameters: '{id: 92}')}
Copied!
Output
/typo3/module/web/ts?token=b6e9c9f&id=92
Copied!

Arguments of the <f: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