ButtonBarHook

Hook for the button bar

Internal

This is a specific hook implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Methods

getButtons()  : array<string|int, mixed>
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

getButtons()

Add a sys_note creation button to the button bar of defined modules

public getButtons(array<string|int, mixed> $params, ButtonBar $buttonBar) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
$buttonBar : ButtonBar
Tags
throws
RouteNotFoundException
Return values
array<string|int, mixed>

canCreateNewRecord()

Check if the user is allowed to create a sys_note record

protected canCreateNewRecord(int $id) : bool
Parameters
$id : int
Return values
bool

getRequest()

protected getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

isCreationAllowed()

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>
Return values
bool

        
On this page

Search results