-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.php
30 lines (26 loc) · 988 Bytes
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
call_user_func(
function() {
// Add static TypoScript files
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'tw_geo',
'Configuration/TypoScript/Static',
'tollwerk Geo Tools'
);
// Register plugins
// @extensionScannerIgnoreLine
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'TwGeo',
'Debug',
'LLL:EXT:tw_geo/Resources/Private/Language/locallang_db.xlf:plugin.debug',
'EXT:tw_geo/Resources/Public/Icons/Backend/Earth.svg'
);
// Register flexforms for plugins
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['twgeo_debug'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('twgeo_debug',
'FILE:EXT:tw_geo/Configuration/FlexForm/Debug.xml');
}
);