ext_tables.php 535 Bytes
Newer Older
1 2
<?php
if (!defined('TYPO3_MODE')) {
Markus Sommer's avatar
Markus Sommer committed
3
    die('Access denied.');
4 5 6
}

// Remove the old "CODE", "Layout" and the "recursive" fields
Stefan Froemken's avatar
Stefan Froemken committed
7
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages,recursive';
8 9

// Add plugin and datasets
10
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(['TER SOAP Server', $_EXTKEY . '_pi1']);
11 12

// Add static configuration files
13
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'resources/static/', 'TER Server');