events/Configuration/TCA/Overrides/tx_events_domain_model_event.php

30 lines
724 B
PHP
Raw Normal View History

<?php
2021-12-13 09:09:13 +01:00
(function (string $extKey, string $table) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
$extKey,
$table,
'categories',
[
'label' => 'Categories',
'fieldConfiguration' => [
'minitems' => 0,
'multiple' => true,
]
]
2021-12-13 09:09:13 +01:00
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
$extKey,
$table,
'features',
[
'label' => 'Features',
'fieldConfiguration' => [
'minitems' => 0,
'multiple' => true,
]
]
);
2021-12-13 09:09:13 +01:00
})('events', 'tx_events_domain_model_event');