Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here: TYPO3 ELTS.
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}"/>
/typo3/module/web/ts?token=b6e9c9f&id=92
Inline notation:
{f:be.uri(route: 'web_ts', parameters: '{id: 92}')}
/typo3/module/web/ts?token=b6e9c9f&id=92
Source code
Go to the source code of this ViewHelper: UriViewHelper.php (GitHub).
Arguments
The following arguments are available for <f:
:
route
-
- Type
- string
- Required
true
The name of the route
parameters
-
- Type
- mixed
- Default
array
()
An array of parameters
referenceType
-
- Type
- string
- Default
'absolute'
The type of reference to be generated (one of the constants)