‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface:
TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem TYPO3\CMS\Backend\Backend\ToolbarItems\HelpToolbarItem TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem

Public Member Functions

bool checkAccess ()
 
string getItem ()
 
bool hasDropDown ()
 
string getDropDown ()
 
array getAdditionalAttributes ()
 
int getIndex ()
 

Detailed Description

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

Definition at line 21 of file ToolbarItemInterface.php.

Member Function Documentation

◆ checkAccess()

◆ getAdditionalAttributes()

array TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface::getAdditionalAttributes ( )

Returns an array with additional attributes added to containing tag of the item.

Typical usages are additional css classes and data-* attributes, classes may be merged with other classes needed by the framework. Do NOT set an id attribute here.

array( 'class' => 'my-class', 'data-foo' => '42', )

Returns
‪array List item HTML attributes

Implemented in TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem, TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem, TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\HelpToolbarItem, and TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem.

◆ getDropDown()

◆ getIndex()

int TYPO3\CMS\Backend\Toolbar\ToolbarItemInterface::getIndex ( )

◆ getItem()

◆ hasDropDown()