-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_tables.php
42 lines (36 loc) · 1.38 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
<?php
defined('TYPO3_MODE') || die('Access denied.');
call_user_func(
function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'In2code.In2contact',
'Pi1',
'Personenliste'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'in2contact',
'Configuration/TypoScript',
'In2contact'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages(
'tx_in2contact_domain_model_contact'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
'in2contact',
'tx_in2contact_domain_model_contact'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['in2contact_pi1'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'in2contact_pi1',
'FILE:EXT:in2contact/Configuration/FlexForm/FlexFormPi1.xml'
);
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
\TYPO3\CMS\Core\Imaging\IconRegistry::class
);
$iconRegistry->registerIcon(
'in2contact-plugin1',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:in2contact/ext_icon.svg']
);
}
);