[TASK] ToolbarItem registration and position 49/34149/6
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 14 Nov 2014 10:32:46 +0000 (11:32 +0100)
committerFelix Kopp <felix-source@phorax.com>
Fri, 14 Nov 2014 17:30:50 +0000 (18:30 +0100)
commit1ddcb9a7de037c709f5f97a9ff980fd1d04d378d
treed02c165217acab9cf834d83cedc752e962008564
parenteb94061c9e1f7cc476b7c428da25100bf774f5a6
[TASK] ToolbarItem registration and position

Toolbar items are now registered with its class name in array
$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'].

The ToolbarItem interface adds a position method to determine
the order of items.

Resolves: #62959
Releases: master
Change-Id: Ie18d4b2148093f28c1f5387907912d8591797582
Reviewed-on: http://review.typo3.org/34149
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Felix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp <felix-source@phorax.com>
27 files changed:
typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Backend/ToolbarItems/LiveSearchToolbarItem.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Backend/ToolbarItems/UserToolbarItem.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Toolbar/ClearCacheToolbarItem.php [deleted file]
typo3/sysext/backend/Classes/Toolbar/LiveSearchToolbarItem.php [deleted file]
typo3/sysext/backend/Classes/Toolbar/ShortcutToolbarItem.php [deleted file]
typo3/sysext/backend/Classes/Toolbar/ToolbarItemHookInterface.php [deleted file]
typo3/sysext/backend/Classes/Toolbar/ToolbarItemInterface.php
typo3/sysext/backend/ext_localconf.php
typo3/sysext/compatibility6/Migrations/Code/ClassAliasMap.php
typo3/sysext/compatibility6/Migrations/Code/LegacyClassesForIde.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php [new file with mode: 0644]
typo3/sysext/opendocs/Classes/Controller/OpendocsController.php [deleted file]
typo3/sysext/opendocs/Migrations/Code/ClassAliasMap.php
typo3/sysext/opendocs/Resources/PHP/RegisterToolbarItem.php [deleted file]
typo3/sysext/opendocs/ext_localconf.php
typo3/sysext/sys_action/Classes/ActionToolbarMenu.php [deleted file]
typo3/sysext/sys_action/Classes/Backend/ToolbarItems/ActionToolbarItem.php [new file with mode: 0644]
typo3/sysext/sys_action/Resources/PHP/RegisterToolbarItem.php [deleted file]
typo3/sysext/sys_action/ext_localconf.php
typo3/sysext/workspaces/Classes/Backend/ToolbarItems/WorkspaceSelectorToolbarItem.php [new file with mode: 0644]
typo3/sysext/workspaces/Classes/ExtDirect/WorkspaceSelectorToolbarItem.php [deleted file]
typo3/sysext/workspaces/Resources/PHP/RegisterToolbarItem.php [deleted file]
typo3/sysext/workspaces/ext_localconf.php