-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
46 lines (37 loc) · 1.32 KB
/
ext_localconf.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
43
44
45
46
<?php
declare(strict_types=1);
/*
* This file is part of the "academic_persons" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/
use Fgtclb\AcademicPersons\Controller\ProfileController;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['profile'] = 'EXT:academic_persons/Configuration/CKEditor/Profile.yaml';
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['linkOnly'] = 'EXT:academic_persons/Configuration/CKEditor/LinkOnly.yaml';
ExtensionUtility::configurePlugin(
'AcademicPersons',
'List',
[
ProfileController::class => 'list',
]
);
ExtensionUtility::configurePlugin(
'AcademicPersons',
'Detail',
[
ProfileController::class => 'detail',
]
);
ExtensionUtility::configurePlugin(
'AcademicPersons',
'ListAndDetail',
[
ProfileController::class => 'list,detail',
]
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['academicPersons']
= \Fgtclb\AcademicPersons\Hook\DataHandlerHooks::class;
ExtensionManagementUtility::addPageTSConfig('@import \'EXT:academic_persons/Configuration/TSconfig/page.tsconfig\'');