‪TYPO3CMS  ‪main
TYPO3\CMS\Adminpanel\Controller\AjaxController Class Reference

Public Member Functions

 __construct (private readonly ConfigurationService $configurationService, private readonly ModuleLoader $moduleLoader,)
 
 saveDataAction (ServerRequestInterface $request)
 
 toggleActiveState ()
 

Protected Member Functions

 getBackendUser ()
 

Protected Attributes

array $adminPanelModuleConfiguration
 

Detailed Description

Admin Panel Ajax Controller - Route endpoint for ajax actions

Definition at line 33 of file AjaxController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Adminpanel\Controller\AjaxController::__construct ( private readonly ConfigurationService  $configurationService,
private readonly ModuleLoader  $moduleLoader 
)

Definition at line 37 of file AjaxController.php.

References $GLOBALS.

Member Function Documentation

◆ getBackendUser()

TYPO3\CMS\Adminpanel\Controller\AjaxController::getBackendUser ( )
protected

◆ saveDataAction()

TYPO3\CMS\Adminpanel\Controller\AjaxController::saveDataAction ( ServerRequestInterface  $request)

Save adminPanel data

Definition at line 47 of file AjaxController.php.

◆ toggleActiveState()

TYPO3\CMS\Adminpanel\Controller\AjaxController::toggleActiveState ( )

Toggle admin panel active state via UC

Definition at line 59 of file AjaxController.php.

References TYPO3\CMS\Adminpanel\Controller\AjaxController\getBackendUser().

Member Data Documentation

◆ $adminPanelModuleConfiguration

array TYPO3\CMS\Adminpanel\Controller\AjaxController::$adminPanelModuleConfiguration
protected

Definition at line 35 of file AjaxController.php.