AfterPagePreviewUriGeneratedEvent

FinalYes

Listeners to this event will be able to modify the page preview URI, which had been generated for a page in the frontend.

Table of Contents

Methods

__construct()  : mixed
getAdditionalQueryParameters()  : array<string|int, mixed>
getContext()  : Context
getLanguageId()  : int
getOptions()  : array<string|int, mixed>
getPageId()  : int
getPreviewUri()  : UriInterface
getRootline()  : array<string|int, mixed>
getSection()  : string
setPreviewUri()  : void

Methods

__construct()

public __construct(UriInterface $previewUri, int $pageId, int $languageId, array<string|int, mixed> $rootline, string $section, array<string|int, mixed> $additionalQueryParameters, Context $context, array<string|int, mixed> $options) : mixed
Parameters
$previewUri : UriInterface
$pageId : int
$languageId : int
$rootline : array<string|int, mixed>
$section : string
$additionalQueryParameters : array<string|int, mixed>
$context : Context
$options : array<string|int, mixed>

getAdditionalQueryParameters()

public getAdditionalQueryParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getLanguageId()

public getLanguageId() : int
Return values
int

getOptions()

public getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPageId()

public getPageId() : int
Return values
int

getPreviewUri()

public getPreviewUri() : UriInterface
Return values
UriInterface

getRootline()

public getRootline() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSection()

public getSection() : string
Return values
string

setPreviewUri()

public setPreviewUri(UriInterface $previewUri) : void
Parameters
$previewUri : UriInterface

        
On this page

Search results