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>getContext()
public
getContext() : Context
Return values
ContextgetLanguageId()
public
getLanguageId() : int
Return values
intgetOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getPageId()
public
getPageId() : int
Return values
intgetPreviewUri()
public
getPreviewUri() : UriInterface
Return values
UriInterfacegetRootline()
public
getRootline() : array<string|int, mixed>
Return values
array<string|int, mixed>getSection()
public
getSection() : string
Return values
stringsetPreviewUri()
public
setPreviewUri(UriInterface $previewUri) : void
Parameters
- $previewUri : UriInterface