forked from freshworkx/typo3-image-gallery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathext_localconf.php
34 lines (30 loc) · 1.13 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
<?php
defined('TYPO3') || die('Access denied.');
call_user_func(
function ($extensionKey) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
$extensionKey,
'GalleryList',
[
\Leuchtfeuer\BmImageGallery\Controller\ListController::class => 'list,gallery'
], []
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
$extensionKey,
'GalleryDetail',
[
\Leuchtfeuer\BmImageGallery\Controller\ListController::class => 'gallery'
], []
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
$extensionKey,
'SelectedGallery',
[
\Leuchtfeuer\BmImageGallery\Controller\ListController::class => 'selectedGallery'
], []
);
// Upgrade Wizards
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\Leuchtfeuer\BmImageGallery\Updates\PluginUpdateWizard::class]
= \Leuchtfeuer\BmImageGallery\Updates\PluginUpdateWizard::class;
}, 'bm_image_gallery'
);