ButtonBarProvider
FinalYes
Event listener to add the sys_note button to the button bar
This is a specific listener implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Methods
- __invoke() : void
- Add a sys_note creation button to the button bar of defined modules
- canCreateNewRecord() : bool
- Check if the user is allowed to create a sys_note record
- getBackendUserAuthentication() : BackendUserAuthentication
- getLanguageService() : LanguageService
- getRequest() : ServerRequestInterface
- isCreationAllowed() : bool
- Check if creation is allowed / denied in web_list via mod TSconfig
Methods
__invoke()
Add a sys_note creation button to the button bar of defined modules
public
__invoke(ModifyButtonBarEvent $event) : void
Parameters
- $event : ModifyButtonBarEvent
Tags
canCreateNewRecord()
Check if the user is allowed to create a sys_note record
protected
canCreateNewRecord(int $id) : bool
Parameters
- $id : int
Return values
boolgetBackendUserAuthentication()
protected
getBackendUserAuthentication() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetRequest()
protected
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfaceisCreationAllowed()
Check if creation is allowed / denied in web_list via mod TSconfig
protected
isCreationAllowed(array<string|int, mixed> $modTSconfig) : bool
Parameters
- $modTSconfig : array<string|int, mixed>