‪TYPO3CMS  9.5
TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface:
TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture TYPO3\CMS\Adminpanel\Modules\Debug\Log TYPO3\CMS\Adminpanel\Modules\Debug\QueryInformation TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation TYPO3\CMS\Adminpanel\Modules\Info\PhpInformation TYPO3\CMS\Adminpanel\Modules\Info\RequestInformation TYPO3\CMS\Adminpanel\Modules\TsDebug\TypoScriptWaterfall

Public Member Functions

string getContent (ModuleData $data)
 

Detailed Description

Adminpanel interface to denote that a module has content to be rendered

In general there are two main types of admin panel modules: those providing settings influencing page rendering (for example the preview module provides settings for displaying hidden pages or records) and those rendering information regarding the current request (for example the log module).

Modules implementing this interface denote that they render module content.

Definition at line 28 of file ContentProviderInterface.php.

Member Function Documentation

◆ getContent()

string TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface::getContent ( ModuleData  $data)

Main method for content generation of an admin panel module. Return content as HTML. For modules implementing the DataProviderInterface the "ModuleData" object is automatically filled with the stored data - if no data is given a "fresh" ModuleData object is injected.

Parameters
\TYPO3\CMS\Adminpanel\ModuleApi\ModuleData$data
Returns
‪string

Implemented in TYPO3\CMS\Adminpanel\Modules\Debug\Log, TYPO3\CMS\Adminpanel\Modules\TsDebug\TypoScriptWaterfall, TYPO3\CMS\Adminpanel\Modules\Debug\QueryInformation, TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation, TYPO3\CMS\Adminpanel\Modules\Info\PhpInformation, TYPO3\CMS\Adminpanel\Modules\Info\RequestInformation, and TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture.