GeneralInformation

class \TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation

Extends
AbstractSubModule
Implements
DataProviderInterface

General information module displaying info about the current request

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
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

Returns human-readable image sizes for fluid template output

Parameters

$request : ServerRequestInterface

Return values

array
On this page