ButtonBarHook

class \TYPO3\CMS\SysNote\Hook\ButtonBarHook

Hook for the button bar

Table of Contents

Methods

getButtons()  : array
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 $params, ButtonBar $buttonBar) : array

Parameters

$params : array
$buttonBar : ButtonBar

Tags

throws
RouteNotFoundException

Return values

array

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 $modTSconfig) : bool

Parameters

$modTSconfig : array

Return values

bool
On this page