GeneralInformation extends AbstractSubModule implements DataProviderInterface

General information module displaying info about the current request

Internal
Attributes
#[Autoconfigure]
$public: true

Table of Contents

Interfaces

DataProviderInterface
Adminpanel interface to denote that a module provides data to be stored for the current request

Methods

__construct()  : mixed
getContent()  : string
Creates the content for the "info" section ("module") of the Admin Panel
getDataToStore()  : ModuleData
getIdentifier()  : string
Identifier for this module, for example "preview" or "cache"
getLabel()  : string
Module label
collectDocumentSize()  : string
Gets the document size from the current page in a human-readable format
collectImagesOnPage()  : array<string|int, mixed>
Collects images from TypoScriptFrontendController and calculates the total size.
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService

Methods

getContent()

Creates the content for the "info" section ("module") of the Admin Panel

public getContent(ModuleData $data) : string
Parameters
$data : ModuleData
Return values
string

getDataToStore()

public getDataToStore(ServerRequestInterface $request) : ModuleData
Parameters
$request : ServerRequestInterface
Return values
ModuleData

getIdentifier()

Identifier for this module, for example "preview" or "cache"

public getIdentifier() : string
Return values
string

getLabel()

Module label

public getLabel() : string
Return values
string

collectDocumentSize()

Gets the document size from the current page in a human-readable format

protected collectDocumentSize(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

collectImagesOnPage()

Collects images from TypoScriptFrontendController and calculates the total size.

protected collectImagesOnPage(ServerRequestInterface $request) : array<string|int, mixed>

Returns human-readable image sizes for fluid template output

Parameters
$request : ServerRequestInterface
Return values
array<string|int, mixed>

        
On this page

Search results