events/Configuration/TCA/Overrides/sys_template.php
Daniel Siepmann 34ac9cbbe3 Move addStaticFile() method call to proper place
Calling within ext_tables.php is bad practice and breaks TYPO3 extension
compatibility check.

Relates: #10077
2023-01-24 13:08:44 +01:00

11 lines
280 B
PHP

<?php
defined('TYPO3') or die();
(static function (string $extensionKey, string $tableName) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
$extensionKey,
'Configuration/TypoScript',
'Events'
);
})('events', 'sys_template');