BeforeLoadedUserTsConfigEvent

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

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
setTsConfig()  : void

Methods

__construct()

public __construct([array $tsConfig = [] ]) : mixed

Parameters

$tsConfig : array = []

addTsConfig()

public addTsConfig(string $tsConfig) : void

Parameters

$tsConfig : string

getTsConfig()

public getTsConfig() : array

Return values

array

setTsConfig()

public setTsConfig(array $tsConfig) : void

Parameters

$tsConfig : array
On this page