events/Configuration/TCA/Overrides/tx_events_domain_model_event.php

16 lines
412 B
PHP

<?php
(function (string $extKey, string $table) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
$extKey,
$table,
'categories',
[
'label' => 'Categories',
'fieldConfiguration' => [
'minitems' => 0,
'multiple' => true,
]
]
);
})('events', 'tx_events_domain_model_event');