Events extends AbstractSubModule implements DataProviderInterface
Shows all dispatched Events of the current request
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- DataProviderInterface
- Adminpanel interface to denote that a module provides data to be stored for the current request
Methods
- __construct() : mixed
- getContent() : string
- Main method for content generation of an admin panel module.
- getDataToStore() : ModuleData
- getIdentifier() : string
- Identifier for this module, for example "preview" or "cache"
- getLabel() : string
- Module label
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
Methods
__construct()
public
__construct(ViewFactoryInterface $viewFactory, EventDispatcher $eventDispatcher) : mixed
Parameters
- $viewFactory : ViewFactoryInterface
- $eventDispatcher : EventDispatcher
getContent()
Main method for content generation of an admin panel module.
public
getContent(ModuleData $data) : string
Return content as HTML. For modules implementing the DataProviderInterface the "ModuleData" object is automatically filled with the stored data - if no data is given a "fresh" ModuleData object is injected.
Parameters
- $data : ModuleData
Return values
stringgetDataToStore()
public
getDataToStore(ServerRequestInterface $request) : ModuleData
Parameters
- $request : ServerRequestInterface
Return values
ModuleDatagetIdentifier()
Identifier for this module, for example "preview" or "cache"
public
getIdentifier() : string
Return values
stringgetLabel()
Module label
public
getLabel() : string
Return values
stringgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService