PageTsConfigFactory
FinalYes
Calculate page TSconfig. This does the heavy lifting additionally supported by TsConfigTreeBuilder: Load basic page TSconfig tree, overload with user TSconfig, parse site settings ("constants"), then build the page TSconfig AST and return page TSconfig DTO.
Internal for now until API stabilized. Use BackendUtility::getPagesTSconfig().
Table of Contents
Methods
- __construct() : mixed
- create() : PageTsConfig
Methods
__construct()
public
__construct(ContainerInterface $container, TokenizerInterface $tokenizer, TsConfigTreeBuilder $tsConfigTreeBuilder, PhpFrontend $cache) : mixed
Parameters
- $container : ContainerInterface
- $tokenizer : TokenizerInterface
- $tsConfigTreeBuilder : TsConfigTreeBuilder
- $cache : PhpFrontend
create()
public
create(array<string|int, mixed> $fullRootLine, SiteInterface $site[, UserTsConfig|null $userTsConfig = null ]) : PageTsConfig
Parameters
- $fullRootLine : array<string|int, mixed>
- $site : SiteInterface
- $userTsConfig : UserTsConfig|null = null