enhancement
major
minor
major
minor
If an application is launched in the Modern theme, the Admin button does not appear in the toolbar.
This is due to changes made to `tl:TabSwitchCommandModelConfiguration` as part of Ticket #26373. Previously, an image for the button could be configured in `tl:TabSwitchCommandModelConfiguration`. In adminButtons.xml, IMAGE_BUTTONS_ADMIN_SIMPLE was configured as the icon for the administration button. Following the changes made by Ticket #26373, the icon from the arguments in legacyTabbar.template.xml is now used.
The administration layout is defined in admin/index.layout.xml. The icon for the button is IMAGE_BUTTONS_ADMINISTRATION22. In the Modern Theme, the variable IMAGE_BUTTONS_ADMINISTRATION22 does not exist, so tl:ThemeImage$NoIcon is used, which adds style="display:none" when the button is rendered. As a result, no button is displayed for the administration section.
Test
Launch the demo in the Modern theme and check whether the administration button is visible.