Skip to content

Commit

Permalink
[CHORE] Cleanup ext_localconf.php
Browse files Browse the repository at this point in the history
  • Loading branch information
garbast committed Nov 30, 2024
1 parent b229c48 commit a8d48e0
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@

declare(strict_types=1);

defined('TYPO3') or die();

use B13\Container\Backend\Grid\ContainerGridColumn as BaseContainerGridColumn;
use Evoweb\EwCollapsibleContainer\Xclass\ContainerGridColumn;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;

call_user_func(function () {
if (ExtensionManagementUtility::isLoaded('container')) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][BaseContainerGridColumn::class] = [
'className' => ContainerGridColumn::class,
];
}
});
defined('TYPO3') or die();

if (ExtensionManagementUtility::isLoaded('container')) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][BaseContainerGridColumn::class] = [
'className' => ContainerGridColumn::class,
];
}

0 comments on commit a8d48e0

Please sign in to comment.