AfterTemplatesHaveBeenDeterminedEvent

final class \TYPO3\CMS\Core\TypoScript\IncludeTree\Event\AfterTemplatesHaveBeenDeterminedEvent

A PSR-14 event fired when sys_template rows have been fetched.

This event is intended to add own rows based on given rows or site resolution.

Table of Contents

Methods

__construct()  : mixed
getRequest()  : ServerRequestInterface|null
getRootline()  : array
getSite()  : SiteInterface|null
Convenience method to directly retrieve the Site. May be null though!
getTemplateRows()  : array
setTemplateRows()  : void

Methods

__construct()

public __construct(array $rootline, ServerRequestInterface|null $request, array $templateRows) : mixed

Parameters

$rootline : array
$request : ServerRequestInterface|null
$templateRows : array

getRequest()

public getRequest() : ServerRequestInterface|null

Return values

ServerRequestInterface|null

getRootline()

public getRootline() : array

Return values

array

getTemplateRows()

public getTemplateRows() : array

Return values

array

setTemplateRows()

public setTemplateRows(array $templateRows) : void

Parameters

$templateRows : array
On this page