Deprecation: #84584 - AdminPanelView: isAdminModuleEnabled and ext_makeToolbar deprecated

See Issue #84584

Description

Due to the complete refactoring of the admin panel, the following methods have been deprecated:

  • \TYPO3\CMS\Adminpanel\View\AdminPanelView::isAdminModuleEnabled()
  • \TYPO3\CMS\Adminpanel\View\AdminPanelView::ext_makeToolBar()

Impact

Calling either one of the methods results in a PHP E_USER_DEPRECATED error.

Affected Installations

Installations calling either one of the methods mentioned.

Migration

Migrate \TYPO3\CMS\Adminpanel\View\AdminPanelView::isAdminModuleEnabled() :

  • Refactor your admin panel modules to the new API (using AbstractModule / AdminPanelModuleInterface ) and check via Module->isEnabled() .
  • When using this with existing admin panel modules call isEnabled() on the new module instance instead.

Migrate \TYPO3\CMS\Adminpanel\View\AdminPanelView::ext_makeToolBar() :

  • When creating custom edit toolbars, build them by yourself matching your templates and styles - you can use \TYPO3\CMS\Adminpanel\Service\EditToolbarService::createToolbar() as an inspiration on how to do so.