BeforeLoadedUserTsConfigEvent

FinalYes

Extensions can add global user TSconfig right before they are loaded from other sources like the global user.tsconfig file.

Note: The added config should not depend on runtime / request. This is considered static config and thus should be identical on every request.

Table of Contents

Methods

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

Methods

__construct()

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

addTsConfig()

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

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