TYPO3 CMS  TYPO3_7-6
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\SysAction\Backend\ToolbarItems\ActionToolbarItem TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem

Public Member Functions

 checkAccess ()
 
 getItem ()
 
 hasDropDown ()
 
 getDropDown ()
 
 getAdditionalAttributes ()
 
 getIndex ()
 

Detailed Description

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

: This interface is FIRST DRAFT and still WILL CHANGE

See also
https://forge.typo3.org/issues/62928

Definition at line 23 of file ToolbarItemInterface.php.

Member Function Documentation

◆ checkAccess()

◆ getAdditionalAttributes()

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\ShortcutToolbarItem, TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem, TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem, TYPO3\CMS\SysAction\Backend\ToolbarItems\ActionToolbarItem, TYPO3\CMS\Backend\Backend\ToolbarItems\HelpToolbarItem, and TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem.

◆ getDropDown()

◆ getIndex()

◆ getItem()

◆ hasDropDown()