TsDebugModule extends AbstractModule implements ShortInfoProviderInterface
Admin Panel TypoScript Debug Module
Table of Contents
Interfaces
- ShortInfoProviderInterface
- Adminpanel shortinfo provider interface can be used to add the module to the short info bar of the adminpanel
Properties
- $configurationService : ConfigurationService
- $mainConfiguration : array<string|int, mixed>
- Main Configuration (from UserTSConfig, admPanel)
- $moduleData : ModuleDataStorageCollection
- $subModules : array<string|int, ModuleInterface>
Methods
- getIconIdentifier() : string
- Icon identifier - needs to be registered in iconRegistry
- getIdentifier() : string
- Identifier for this module, for example "preview" or "cache"
- getLabel() : string
- Module label
- getShortInfo() : string
- Displayed directly in the bar
- getSubModules() : array<string|int, ModuleInterface>
- Returns an array of module instances
- hasSubmoduleSettings() : bool
- Return true if any of the submodules has settings to be rendered (can be used to render settings in a central place)
- injectConfigurationService() : void
- isEnabled() : bool
- Returns true if the module is -> either enabled via TSConfig "admPanel.enable" -> or any setting is overridden.
- setModuleData() : void
- setSubModules() : void
- Sets array of module instances (instances of `ModuleInterface`) as submodules
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- getTimeTracker() : TimeTracker
- isEnabledViaTsConfig() : bool
- Returns true if TSConfig "admPanel.enable" is set for this module (or all modules)
Properties
$configurationService
protected
ConfigurationService
$configurationService
$mainConfiguration
Main Configuration (from UserTSConfig, admPanel)
protected
array<string|int, mixed>
$mainConfiguration
$moduleData
protected
ModuleDataStorageCollection
$moduleData
$subModules
protected
array<string|int, ModuleInterface>
$subModules
= []
Methods
getIconIdentifier()
Icon identifier - needs to be registered in iconRegistry
public
getIconIdentifier() : string
Return values
stringgetIdentifier()
Identifier for this module, for example "preview" or "cache"
public
getIdentifier() : string
Return values
stringgetLabel()
Module label
public
getLabel() : string
Return values
stringgetShortInfo()
Displayed directly in the bar
public
getShortInfo() : string
Return values
stringgetSubModules()
Returns an array of module instances
public
getSubModules() : array<string|int, ModuleInterface>
Return values
array<string|int, ModuleInterface>hasSubmoduleSettings()
Return true if any of the submodules has settings to be rendered (can be used to render settings in a central place)
public
hasSubmoduleSettings() : bool
Return values
boolinjectConfigurationService()
public
injectConfigurationService(ConfigurationService $configurationService) : void
Parameters
- $configurationService : ConfigurationService
isEnabled()
Returns true if the module is -> either enabled via TSConfig "admPanel.enable" -> or any setting is overridden.
public
isEnabled() : bool
Override is a way to use functionality of the admin panel without displaying the admin panel to users for example: hidden records or pages can be displayed by default
Return values
boolsetModuleData()
public
setModuleData(ModuleDataStorageCollection $moduleData) : void
Parameters
- $moduleData : ModuleDataStorageCollection
setSubModules()
Sets array of module instances (instances of `ModuleInterface`) as submodules
public
setSubModules(array<string|int, mixed> $subModules) : void
Parameters
- $subModules : array<string|int, mixed>
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetTimeTracker()
protected
getTimeTracker() : TimeTracker
Return values
TimeTrackerisEnabledViaTsConfig()
Returns true if TSConfig "admPanel.enable" is set for this module (or all modules)
protected
isEnabledViaTsConfig() : bool