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|nullgetLanguageId()
public
getLanguageId() : int
Return values
intgetPageId()
public
getPageId() : int
Return values
intgetPreviewUrl()
public
getPreviewUrl() : string|null
Return values
string|nullsetPreviewUrl()
public
setPreviewUrl(string|null $previewUrl) : void
Parameters
- $previewUrl : string|null