CspModuleController
Content-Security-Policy backend module view, loading the CSP lit-element and providing the current context.
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[AsController]
Table of Contents
Properties
- $features : Features
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRenderer : PageRenderer
- $scopeRepository : ScopeRepository
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- getBackendUser() : BackendUserAuthentication
- getConfigurationStatus() : array<string|int, mixed>
Properties
$features read-only
protected
Features
$features
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageRenderer read-only
protected
PageRenderer
$pageRenderer
$scopeRepository read-only
protected
ScopeRepository
$scopeRepository
$uriBuilder read-only
protected
UriBuilder
$uriBuilder
Methods
__construct()
public
__construct(Features $features, UriBuilder $uriBuilder, PageRenderer $pageRenderer, ScopeRepository $scopeRepository, ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $features : Features
- $uriBuilder : UriBuilder
- $pageRenderer : PageRenderer
- $scopeRepository : ScopeRepository
- $moduleTemplateFactory : ModuleTemplateFactory
mainAction()
public
mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetConfigurationStatus()
protected
getConfigurationStatus() : array<string|int, mixed>