ConfigurationService implements SingletonInterface

Admin Panel Service Class for Configuration Handling

Scope: User TSConfig + Backend User UC

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Methods

getConfigurationOption()  : string
Helper method to return configuration options Checks User TSConfig overrides and current backend user session
getMainConfiguration()  : array<string|int, mixed>
Get MainConfiguration (User TSConfig admPanel)
saveConfiguration()  : void
Save admin panel configuration to backend user UC triggers onSubmit method of modules to enable each module to enhance the save action
getBackendUser()  : BackendUserAuthentication|FrontendBackendUserAuthentication
Returns the current BE user.
triggerOnSubmitActors()  : void

Methods

getConfigurationOption()

Helper method to return configuration options Checks User TSConfig overrides and current backend user session

public getConfigurationOption(string $identifier, string $option) : string
Parameters
$identifier : string
$option : string
Return values
string

getMainConfiguration()

Get MainConfiguration (User TSConfig admPanel)

public getMainConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>

saveConfiguration()

Save admin panel configuration to backend user UC triggers onSubmit method of modules to enable each module to enhance the save action

public saveConfiguration(array<string|int, ModuleInterface$modules, ServerRequestInterface $request) : void
Parameters
$modules : array<string|int, ModuleInterface>
$request : ServerRequestInterface

triggerOnSubmitActors()

protected triggerOnSubmitActors(array<string|int, mixed> $modules, ServerRequestInterface $request, array<string|int, mixed> $configurationToSave) : void
Parameters
$modules : array<string|int, mixed>
$request : ServerRequestInterface
$configurationToSave : array<string|int, mixed>

        
On this page

Search results