Skip to content

Commit

Permalink
[BUGFIX] Registration in TYPO3 v11 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
josefglatz committed Apr 25, 2022
1 parent deb395a commit d12ce58
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ext_localconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
defined('TYPO3') || die('Access denied.');

call_user_func(
function ($extKey) {
// @todo TYPO3v11 removal: remove toolbar items registration via ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1502345259] = \JosefGlatz\BeuserFastswitch\Hooks\Backend\Toolbar\BackendUserPreviewToolbarItem::class;
},
'beuser_fastswitch'
);

0 comments on commit d12ce58

Please sign in to comment.