thuecat/Configuration/TCA/Overrides/sys_template.php

20 lines
543 B
PHP
Raw Normal View History

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