ModifyLoadedPageTsConfigEvent

FinalYes

Extensions can modify pageTSConfig entries that can be overridden or added, based on the root line

Table of Contents

Methods

__construct()  : mixed
addTsConfig()  : void
getRootLine()  : array<string|int, mixed>
getTsConfig()  : array<string|int, mixed>
setTsConfig()  : void

Methods

__construct()

public __construct(array<string|int, mixed> $tsConfig, array<string|int, mixed> $rootLine) : mixed
Parameters
$tsConfig : array<string|int, mixed>
$rootLine : array<string|int, mixed>

addTsConfig()

public addTsConfig(string $tsConfig) : void
Parameters
$tsConfig : string

getRootLine()

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

getTsConfig()

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

setTsConfig()

public setTsConfig(array<string|int, mixed> $tsConfig) : void
Parameters
$tsConfig : array<string|int, mixed>

        
On this page

Search results