Contao Utils Bundle

RoutingUtil
in package

Use Utils service instead

Tags
codeCoverageIgnore

Table of Contents

Properties

$utils  : Utils

Methods

__construct()  : mixed
generateBackendRoute()  : string
Generate a backend route with token and referer.

Properties

Methods

generateBackendRoute()

Generate a backend route with token and referer.

public generateBackendRoute([array<string|int, mixed> $params = [] ][, bool $addToken = true ][, bool $addReferer = true ][, string $route = 'contao_backend' ]) : string

Use utils service instead

Parameters
$params : array<string|int, mixed> = []

Url-Parameters

$addToken : bool = true
$addReferer : bool = true
$route : string = 'contao_backend'
Tags
codeCoverageIgnore
Return values
string

The backend route url


        
On this page

Search results