ShortcutToolbarItem

class \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem

Implements
ToolbarItemInterface

Class to render the shortcut menu

Table of Contents

Interfaces

ToolbarItemInterface
Interface for classes which extend the backend by adding items to the top toolbar

Properties

$shortcutRepository  : ShortcutRepository

Methods

__construct()  : mixed
Constructor
checkAccess()  : bool
Checks whether the user has access to this toolbar item
getAdditionalAttributes()  : array
This toolbar item needs no additional attributes
getDropDown()  : string
Render drop down content
getIndex()  : int
Position relative to others, live search should be very right
getItem()  : string
Render shortcut icon
hasDropDown()  : bool
This item has a drop down
getBackendUser()  : BackendUserAuthentication
Returns the current BE user.
getFluidTemplateObject()  : StandaloneView
returns a new standalone view, shorthand function
getLanguageService()  : LanguageService

Properties

Methods

__construct()

Constructor

public __construct() : mixed

checkAccess()

Checks whether the user has access to this toolbar item

public checkAccess() : bool

Return values

bool —

TRUE if user has access, FALSE if not

getAdditionalAttributes()

This toolbar item needs no additional attributes

public getAdditionalAttributes() : array

Return values

array

getDropDown()

Render drop down content

public getDropDown() : string

Return values

string —

HTML

getIndex()

Position relative to others, live search should be very right

public getIndex() : int

Return values

int

hasDropDown()

This item has a drop down

public hasDropDown() : bool

Return values

bool

getFluidTemplateObject()

returns a new standalone view, shorthand function

protected getFluidTemplateObject(string $templateFilename) : StandaloneView

Parameters

$templateFilename : string

Tags

throws
InvalidExtensionNameException
throws
InvalidArgumentException

Return values

StandaloneView
On this page