LayoutController

class \TYPO3\CMS\Install\Controller\LayoutController

Extends
AbstractController
Uses
ControllerTrait

Layout controller

Renders a first "load the Javascript in " view, and the main layout of the install tool in second action.

Table of Contents

Methods

__construct()  : mixed
executeSilentConfigurationUpdateAction()  : ResponseInterface
Execute silent configuration update. May be called multiple times until success = true is returned.
executeSilentExtensionConfigurationSynchronizationAction()  : ResponseInterface
Synchronize TYPO3_CONF_VARS['EXTENSIONS'] with possibly new defaults from extensions ext_conf_template.txt files. This make LocalConfiguration the only source of truth for extension configuration, and it is always up-to-date, also if an extension has been updated.
executeSilentTemplateFileUpdateAction()  : ResponseInterface
Execute silent template files update. May be called multiple times until success = true is returned.
initAction()  : ResponseInterface
The init action renders an HTML response with HTML view having <head> section containing resources to main .js routing.
mainLayoutAction()  : ResponseInterface
Return a json response with the main HTML layout body: Toolbar, main menu and doc header in standalone, doc header only in backend context. Silent updaters are executed before this main view is loaded.
createContentSecurityPolicy()  : Policy
Using fixed Content-Security-Policy for Admin Tool (extensions and database might not be available)
initializeView()  : ViewInterface
Helper method to initialize a view instance.

Methods

__construct()

public __construct(SilentConfigurationUpgradeService $silentConfigurationUpgradeService, SilentTemplateFileUpgradeService $silentTemplateFileUpgradeService, BackendEntryPointResolver $backendEntryPointResolver, ImportMapFactory $importMapFactory, HashService $hashService, IconRegistry $iconRegistry, DirectiveHashCollection $directiveHashCollection) : mixed

Parameters

$silentConfigurationUpgradeService : SilentConfigurationUpgradeService
$silentTemplateFileUpgradeService : SilentTemplateFileUpgradeService
$backendEntryPointResolver : BackendEntryPointResolver
$importMapFactory : ImportMapFactory
$hashService : HashService
$iconRegistry : IconRegistry
$directiveHashCollection : DirectiveHashCollection

executeSilentConfigurationUpdateAction()

Execute silent configuration update. May be called multiple times until success = true is returned.

public executeSilentConfigurationUpdateAction() : ResponseInterface

Return values

ResponseInterface —

success = true if no change has been done

executeSilentExtensionConfigurationSynchronizationAction()

Synchronize TYPO3_CONF_VARS['EXTENSIONS'] with possibly new defaults from extensions ext_conf_template.txt files. This make LocalConfiguration the only source of truth for extension configuration, and it is always up-to-date, also if an extension has been updated.

public executeSilentExtensionConfigurationSynchronizationAction() : ResponseInterface

Return values

ResponseInterface

executeSilentTemplateFileUpdateAction()

Execute silent template files update. May be called multiple times until success = true is returned.

public executeSilentTemplateFileUpdateAction() : ResponseInterface

Return values

ResponseInterface —

success = true if no change has been done

initAction()

The init action renders an HTML response with HTML view having <head> section containing resources to main .js routing.

public initAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

mainLayoutAction()

Return a json response with the main HTML layout body: Toolbar, main menu and doc header in standalone, doc header only in backend context. Silent updaters are executed before this main view is loaded.

public mainLayoutAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

createContentSecurityPolicy()

Using fixed Content-Security-Policy for Admin Tool (extensions and database might not be available)

protected createContentSecurityPolicy() : Policy

Return values

Policy

initializeView()

Helper method to initialize a view instance.

protected initializeView(ServerRequestInterface $request) : ViewInterface

Parameters

$request : ServerRequestInterface

Return values

ViewInterface
On this page