‪TYPO3CMS  ‪main
TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture Class Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture:
TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface TYPO3\CMS\Adminpanel\ModuleApi\ModuleSettingsProviderInterface TYPO3\CMS\Adminpanel\ModuleApi\OnSubmitActorInterface TYPO3\CMS\Adminpanel\ModuleApi\DataProviderInterface

Public Member Functions

 getIdentifier ()
 
 getLabel ()
 
 getContent (ModuleData $data)
 
 getSettings ()
 
 onSubmit (array $configurationToSave, ServerRequestInterface $request)
 
 getDataToStore (ServerRequestInterface $request)
 

Detailed Description

Definition at line 28 of file SubModuleFixture.php.

Member Function Documentation

◆ getContent()

TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture::getContent ( ModuleData  $data)

Sub-Module content as rendered HTML

Implements TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface.

Definition at line 50 of file SubModuleFixture.php.

◆ getDataToStore()

TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture::getDataToStore ( ServerRequestInterface  $request)

◆ getIdentifier()

TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture::getIdentifier ( )

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

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface.

Definition at line 34 of file SubModuleFixture.php.

◆ getLabel()

TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture::getLabel ( )

Sub-Module label

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface.

Definition at line 42 of file SubModuleFixture.php.

◆ getSettings()

TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture::getSettings ( )

Settings as HTML form elements (without wrapping form tag or save button)

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleSettingsProviderInterface.

Definition at line 58 of file SubModuleFixture.php.

◆ onSubmit()

TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture::onSubmit ( array  $configurationToSave,
ServerRequestInterface  $request 
)

Executed on saving / submit of the configuration form Can be used to react to changed settings (for example: clearing a specific cache)

Implements TYPO3\CMS\Adminpanel\ModuleApi\OnSubmitActorInterface.

Definition at line 68 of file SubModuleFixture.php.