Breaking: #96041 - Toolbar items: Register by tag
See forge#96041
Description
Toolbar items implementing \TYPO3\
are now automatically
registered by adding the tag backend.
, if autoconfigure
is enabled in Services.
.
Impact
The registration via $GLOBALS
isn't evaluated anymore.
Affected Installations
Every extension, that adds toolbar items via $GLOBALS
in its ext_
file.
Migration
Remove $GLOBALS
from your ext_
file.
If autoconfigure
is not enabled in your Configuration/
, add the tag backend.
to your toolbar item class.
Example:
VENDOR\Extension\ToolbarItem\YourAdditionalToolbarItem:
tags:
- name: backend.toolbar.item
Copied!