mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-25 06:16:11 +01:00
18 lines
464 B
PHP
18 lines
464 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use TYPO3\CMS\Core\Utility\ArrayUtility;
|
|
|
|
(function (string $extKey, string $table) {
|
|
ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA'][$table], [
|
|
'columns' => [
|
|
'sorting' => [
|
|
'config' => [
|
|
// Allow extbase to map this column to model
|
|
'type' => 'passthrough',
|
|
],
|
|
],
|
|
],
|
|
]);
|
|
})('events', 'sys_category');
|