AjaxController
Read onlyYes
Admin Panel Ajax Controller - Route endpoint for ajax actions
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- saveDataAction() : JsonResponse
- Save adminPanel data
- toggleActiveState() : JsonResponse
- Toggle admin panel active state via UC
- getBackendUser() : BackendUserAuthentication
Methods
__construct()
public
__construct(ConfigurationService $configurationService, ModuleLoader $moduleLoader) : mixed
Parameters
- $configurationService : ConfigurationService
- $moduleLoader : ModuleLoader
saveDataAction()
Save adminPanel data
public
saveDataAction(ServerRequestInterface $request) : JsonResponse
Parameters
- $request : ServerRequestInterface
Return values
JsonResponsetoggleActiveState()
Toggle admin panel active state via UC
public
toggleActiveState() : JsonResponse
Return values
JsonResponsegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication