‪TYPO3CMS  ‪main
TYPO3\CMS\Adminpanel\ModuleApi\OnSubmitActorInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\ModuleApi\OnSubmitActorInterface:
TYPO3\CMS\Adminpanel\Modules\PreviewModule TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\MainModuleFixture TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\DisabledMainModuleFixture

Public Member Functions

 onSubmit (array $configurationToSave, ServerRequestInterface $request)
 

Detailed Description

Adminpanel interface for modules that need to react on changed configuration (for example if fluid debug settings change, the frontend cache should be cleared)

Definition at line 26 of file OnSubmitActorInterface.php.

Member Function Documentation

◆ onSubmit()

TYPO3\CMS\Adminpanel\ModuleApi\OnSubmitActorInterface::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)

Implemented in TYPO3\CMS\Adminpanel\Modules\PreviewModule, TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\MainModuleFixture, and TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture.