ModifyPreviewUrlForQrCodeEvent

FinalYes

Listeners to this event are able to modify the preview URL used for QR codes in the backend. This allows extensions to provide alternative URLs, for example workspace-aware preview URLs that work without backend authentication.

Table of Contents

Methods

__construct()  : mixed
getFallbackUrl()  : string|null
getLanguageId()  : int
getPageId()  : int
getPreviewUrl()  : string|null
setPreviewUrl()  : void

Methods

__construct()

public __construct(int $pageId, int $languageId, string|null $fallbackUrl) : mixed
Parameters
$pageId : int
$languageId : int
$fallbackUrl : string|null

getFallbackUrl()

public getFallbackUrl() : string|null
Return values
string|null

getLanguageId()

public getLanguageId() : int
Return values
int

getPageId()

public getPageId() : int
Return values
int

getPreviewUrl()

public getPreviewUrl() : string|null
Return values
string|null

setPreviewUrl()

public setPreviewUrl(string|null $previewUrl) : void
Parameters
$previewUrl : string|null

        
On this page

Search results