forked from featdd/dpn_glossary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
executable file
·49 lines (41 loc) · 2.42 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
<?php
defined('TYPO3_MODE') || die('Access denied.');
call_user_func(
function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Featdd.DpnGlossary',
'Glossary',
[\Featdd\DpnGlossary\Controller\TermController::class => 'list, show'],
[\Featdd\DpnGlossary\Controller\TermController::class => '']
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Featdd.DpnGlossary',
'Glossarypreview',
[\Featdd\DpnGlossary\Controller\TermController::class => 'previewNewest, previewRandom, previewSelected'],
[\Featdd\DpnGlossary\Controller\TermController::class => '']
);
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1582892166] = [
'nodeName' => 'recordPreview',
'priority' => 70,
'class' => \Featdd\DpnGlossary\Form\Element\InputSlugElement::class,
];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][] = \Featdd\DpnGlossary\Hook\ContentPostProcHook::class . '->all';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-cached'][] = \Featdd\DpnGlossary\Hook\ContentPostProcHook::class . '->cached';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\Featdd\DpnGlossary\Updates\SlugUpdateWizard::class] = \Featdd\DpnGlossary\Updates\SlugUpdateWizard::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['routing']['aspects']['StaticMultiRangeMapper'] = \Featdd\DpnGlossary\Routing\Aspect\StaticMultiRangeMapper::class;
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'ext-dpn_glossary-wizard-icon',
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
['name' => 'list']
);
$iconRegistry->registerIcon(
'ext-dpn_glossary-preview-wizard-icon',
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
['name' => 'external-link-square']
);
if (false === isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['dpnglossary_termscache'])) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['dpnglossary_termscache'] = [];
}
}
);