-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
52 lines (46 loc) · 1.67 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
47
48
49
50
<?php
declare(strict_types=1);
use TYPO3\CMS\Core\Information\Typo3Version;
use Fixpunkt\FpFractionslider\Controller\SlideController;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
defined('TYPO3') || die('Access denied.');
call_user_func(
function()
{
ExtensionUtility::configurePlugin(
'FpFractionslider',
'Fractionslider',
[ SlideController::class => 'fractionslider' ],
[ SlideController::class => '' ]
);
ExtensionUtility::configurePlugin(
'FpFractionslider',
'Sliderpro',
[ SlideController::class => 'sliderpro' ],
[ SlideController::class => '' ]
);
ExtensionUtility::configurePlugin(
'FpFractionslider',
'Sliderrevolution',
[ SlideController::class => 'sliderrevolution' ],
[ SlideController::class => '' ]
);
ExtensionUtility::configurePlugin(
'FpFractionslider',
'List',
[ SlideController::class => 'list' ],
[ SlideController::class => '' ]
);
ExtensionUtility::configurePlugin(
'FpFractionslider',
'Show',
[ SlideController::class => 'show' ],
[ SlideController::class => '' ]
);
// wizards
if ((new Typo3Version())->getMajorVersion() < 13) {
// @extensionScannerIgnoreLine
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fp_fractionslider/Configuration/TSconfig/ContentElementWizard.tsconfig">');
}
}
);