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
- $iconFactory : IconFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageRenderer : PageRenderer
- $scopeRepository : ScopeRepository
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- mainAction() : ResponseInterface
- getBackendUser() : BackendUserAuthentication
- getConfigurationStatus() : array<string|int, mixed>
- getLanguageService() : LanguageService
- registerDocHeaderButtons() : void
Properties
$features read-only
protected
Features
$features
$iconFactory read-only
protected
IconFactory
$iconFactory
$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, IconFactory $iconFactory) : mixed
Parameters
- $features : Features
- $uriBuilder : UriBuilder
- $pageRenderer : PageRenderer
- $scopeRepository : ScopeRepository
- $moduleTemplateFactory : ModuleTemplateFactory
- $iconFactory : IconFactory
mainAction()
public
mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetConfigurationStatus()
protected
getConfigurationStatus() : array<string|int, mixed>
Return values
array<string|int, mixed>getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceregisterDocHeaderButtons()
protected
registerDocHeaderButtons(ModuleTemplate $view, ModuleInterface $currentModule) : void
Parameters
- $view : ModuleTemplate
- $currentModule : ModuleInterface