FrontendConfigurationManager

final readonly class \TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager

A general purpose configuration manager used in frontend mode.

Should NOT be singleton, as a new configuration manager is needed per plugin.

Table of Contents

Methods

__construct()  : mixed
getConfiguration()  : array
Loads the Extbase Framework configuration.
getTypoScriptSetup()  : array
Returns full Frontend TypoScript setup array calculated by FE middlewares.

Methods

getConfiguration()

Loads the Extbase Framework configuration.

public getConfiguration(ServerRequestInterface $request, array $configuration[, string|null $extensionName = null ][, string|null $pluginName = null ]) : array

The Extbase framework configuration HAS TO be retrieved using this method, as they are come from different places than the normal settings. Framework configuration is, in contrast to normal settings, needed for the Extbase framework to operate correctly.

Parameters

$request : ServerRequestInterface
$configuration : array

low level configuration from outside, typically ContentObjectRenderer TypoScript element config

$extensionName : string|null = null

if specified, the configuration for the given extension will be returned (plugin.tx_extensionname)

$pluginName : string|null = null

if specified, the configuration for the given plugin will be returned (plugin.tx_extensionname_pluginname)

Return values

array —

the Extbase framework configuration

getTypoScriptSetup()

Returns full Frontend TypoScript setup array calculated by FE middlewares.

public getTypoScriptSetup(ServerRequestInterface $request) : array

Parameters

$request : ServerRequestInterface

Return values

array
On this page