thuecat/Configuration/TCA/Overrides/sys_template.php
Daniel Siepmann 54d244b804
TYPO3 V12 Update (#116)
* Support TYPO3 v12 and PHP 8.3
2023-12-05 09:43:55 +01:00

24 lines
591 B
PHP

<?php
declare(strict_types=1);
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use WerkraumMedia\ThueCat\Extension;
defined('TYPO3') or die();
(static function (string $extensionKey, string $tableName) {
ExtensionManagementUtility::addStaticFile(
$extensionKey,
'Configuration/TypoScript/ContentElements',
'ThüCAT - Content Elements'
);
ExtensionManagementUtility::addStaticFile(
$extensionKey,
'Configuration/TypoScript/PageTypes',
'ThüCAT - Page Types'
);
})(
Extension::EXTENSION_KEY,
'sys_template'
);